Posted By
George on 2011-09-11 15:43:13
| Re: Draw a single pixel in assembler
Thanks a lot. i do not fully understand this here:
ORG $1001-2 <- this start address, but why -2? DW $1001 <- whats this? <-- what do you do here in this block? DW nextln,0 ; second word is line number DB $9E IF start > 9999 DB "0"+start/10000 ENDIF DB "0"+(start/1000)%10,"0"+(start/100)%10,"0"+(start/10)%10,"0"+start%10,0 nextln DB 0,0
ptr = $D0 <- you set a variable start SEI <- you stop interrupts here? Why? STA $FF3F <- why this here?
|