I just have a quick MASM question when writing macros, I amhaving issues with a macro for the irvine library procedure ReadIntand WriteInt. I have the following code and it isn’t working.
mWriteInt MACRO varNum
push edx
mov edx, OFFSET varNum
call ReadInt
call WriteInt
pop edx
ENDM
mReadInt MACRO varNum
push ecx
push edx
mov edx, OFFSET varNum
mov ecx, (SIZEOF varNum)-1
call ReadInt
pop edx
pop ecx
ENDM
Expert Answer
Answer to I just have a quick MASM question when writing macros, I am having issues with a macro for the irvine library procedure …