Hello people, I'm using masm 6.1, and I have problems with macros, and I don't know why to set an example;
true = 0
false = 0ffh
dta segment public 'data'
status byte ?
bit byte ?
flag byte ?
dir word ?
dta ends
fmacro macro mbit,mstatus,mdata
mov al,mbit
mov bit,al
mov al,mstatus
mov status,al
mov ax,offset mdata
mov dir,ax
endm
------------------------------------------
fmacro 2h,true,flag
call writeBit
, the linker complains, and it says: 'fmacro' syntax error, why? :exclaim:
EDITED SEVERAL TIMES.