Added some 65C02 code.
git-svn-id: svn://svn.cc65.org/cc65/trunk@484 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -7,16 +7,18 @@
|
||||
.export inceaxy
|
||||
.importzp ptr4, sreg
|
||||
|
||||
inceaxy:
|
||||
.proc inceaxy
|
||||
|
||||
sty ptr4
|
||||
clc
|
||||
adc ptr4
|
||||
bcc inceax9
|
||||
bcc @L9
|
||||
inx
|
||||
bne inceax9
|
||||
bne @L9
|
||||
inc sreg
|
||||
bne inceax9
|
||||
bne @L9
|
||||
inc sreg+1
|
||||
inceax9:
|
||||
rts
|
||||
@L9: rts
|
||||
|
||||
.endproc
|
||||
|
||||
|
||||
Reference in New Issue
Block a user