1

Temat: MADS #if statement

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

2

Odp: MADS #if statement

it's bug in mads, '.OR', '.AND' not works

p.s.
mads 1.8.8 bug fixed

Ostatnio edytowany przez tebe (2009-07-19 16:23:05)

*- TeBe/Madteam
3x Atari 130XE, SDX, CPU 65816, 2x VBXE, 2x IDE Plus rev. C

3

Odp: MADS #if statement

No problem, thanks for info.