A library to handle console inputs using MASM32 Assembly. Allows the user to read strings and integers and write on console without use a macro library.
- Requirements:
- First of all, you need to import MyIO Library to you source code. You can do this with the code:
include myIO.inc- Second of all, you need to setup MyIO Library to enable console write and read. You can do this with the code:
call _MyIO_Setup- After these steps, you will be able to use all MyIO Library functions.
push offset stringVariable
call _MyIO_LogMessagepush integerVariable
call _MyIO_LogIntegercall _MYIO_BreakLinepush sizeof stringVariable
push offset stringVariable
call _MyIO_ReadString ; save input readed into string variablecall _MyIO_ReadInteger
mov integerVariable, eax