Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ORG $0
- DC.L $8000
- DC.L start
- ORG $500
- somW DC.W 0
- somB DC.B 0
- nb1 DC.B -80
- nb2 DC.B -50
- nb1W DC.W 0
- nb2W DC.W 0
- ORG $550
- start MOVE.B nb1,D0
- ADD.B nb2,D0
- si BVC sinon
- alors MOVE.B nb1,D1
- EXT.W D1
- MOVE.W D1,nb1W
- MOVE.B nb2,D2
- EXT.W D2
- MOVE.W D2,nb2W
- ADD.W D1,D2
- MOVE.W D2,somW
- BRA finsi
- sinon MOVE.B D0,somB
- finsi BREAK
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement