Mercurial > hg > ede
view tests/label_test.asm @ 8:81dd03d17c22
first_pass() didn't need a pc
author | james <jb302@eecs.qmul.ac.uk> |
---|---|
date | Sat, 07 Dec 2013 20:32:27 +0000 |
parents | 82e82dda442b |
children |
line wrap: on
line source
; label test label_1: MOV A, #0xFF ; 0: 0x15 0xFF label_2: JNZ label_2 ; 2: 0xE1 0x02 label_4: ; 4: label_3: JC label_4 ; 4: 0xE2 0x04 MOV A, @0xF00F ; 6: 0x1C 0xFO 0x0F JNZ label_1 ; 9: 0xE1 0x00 JNZ label_3 ; 0B: 0xE1 0x04 CJNE R0, #0xFF, label_2 ; 0D: 0xD4 0xFF 0x02