Added comments for assembly

This commit is contained in:
Jonathan Chan 2018-01-09 16:19:26 -08:00
parent 0b7482a2f6
commit 0f20e886f6
2 changed files with 12 additions and 5 deletions

View File

@ -8,16 +8,16 @@ START:
mov.b #11110111b, &P1DIR
; set digits
mov.b #01100001b, &P1OUT
mov.b #01100001b, &P1OUT ; xxx6
mov.b #01100000b, &P1OUT
mov.b #01000011b, &P1OUT
mov.b #01000011b, &P1OUT ; xx46
mov.b #01000010b, &P1OUT
ss
mov.b #00010101b, &P1OUT
mov.b #00010101b, &P1OUT ; x146
mov.b #00010100b, &P1OUT
mov.b #01000111b, &P1OUT
mov.b #01000111b, &P1OUT ; 4146
mov.b #01000110b, &P1OUT
; disable

7
out.hex Normal file
View File

@ -0,0 +1,7 @@
:10C0000031400004B240805A2001F240F700220083
:10C01000F24061002100F24060002100F240430044
:10C020002100F24042002100F24015002100F240C0
:10C0300014002100F24047002100F2404600210098
:04C0400032D01000EA
:02FFFE0000C041
:00000001FF