Hello Tebe,
Can you please tell me what's wrong with code below, which results in this error:
.TEST
if_test.asm (11) ERROR: Bad parameter type
I use Mads 1.8.7 build 34 (28 Jun 09) and it raises an error if I try to use .and, .or combination in #if statement
Code:
org $3200
 .var n1 .byte
 .var n2 .byte
Main
 mva #21 n1
 mva #7 n2
 #if .byte n1<#214 .or .byte n2=#7
 #end
jmp *
run Main