Greetings,
attached below is an example of code which used "if..then.." loop in making a decision..
my question now is... is there any other way wic can help me do the same looping..
your helpis much appreciated thanking you in advance...
Code:
help1
move.b #32,d0
move.b #0,d1
trap #15
move.l d1,a0
move.b #1,d1
trap #15
move.l d1,a1
move.b #2,d1
trap #15
move.l d1,a2
move.b #3,d1
trap #15
move.l d1,a3
move.b (a3),d2
move.b d2,(a2)
move.b #$00,$e00000
move.b #$00,$e00002
if.b d2 <eq> #$00 then.s
move.b #$3f,$e0000e
endi
if.b d2 <eq> #$01 then.s
move.b #$06,$e0000e
endi
if.b d2 <eq> #$02 then.s
move.b #$5b,$e0000e
endi
if.b d2 <eq> #$03 then.s
move.b #$4f,......................................