khairulnisa
New Member
how to convert the single digit roman no.
i have done the basic code.
but how if i want to make a loop or branch?
START ORG $1000
MOVE.B D6,D1
CMP.B #$69,D1
BEQ TRUEA
CMP.B #$76,D1
BEQ TRUEB
CMP.B #$78,D1
BEQ TRUEC
MOVE.B #$FF,D1
ORG $2000
TRUEA MOVE.B #$1,D3
ORG $3000
TRUEB MOVE.B #$5,D3
ORG $4000
TRUEC MOVE.B #$10,D3
ORG $5000
END START
END START
i have done the basic code.
but how if i want to make a loop or branch?
START ORG $1000
MOVE.B D6,D1
CMP.B #$69,D1
BEQ TRUEA
CMP.B #$76,D1
BEQ TRUEB
CMP.B #$78,D1
BEQ TRUEC
MOVE.B #$FF,D1
ORG $2000
TRUEA MOVE.B #$1,D3
ORG $3000
TRUEB MOVE.B #$5,D3
ORG $4000
TRUEC MOVE.B #$10,D3
ORG $5000
END START
END START