mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 15:29:46 +00:00
Comment and tab fix. No code changes.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5760 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
parent
f9f660dd5d
commit
db8cac9501
@ -11,15 +11,15 @@
|
||||
;
|
||||
|
||||
|
||||
.export tosaslax, tosshlax, aslaxy, shlaxy
|
||||
.import popax
|
||||
.importzp tmp1
|
||||
.export tosaslax, tosshlax, aslaxy, shlaxy
|
||||
.import popax
|
||||
.importzp tmp1
|
||||
|
||||
.macpack cpu
|
||||
|
||||
tosshlax:
|
||||
tosaslax:
|
||||
sta tmp1 ; Save shift count it
|
||||
sta tmp1 ; Save shift count
|
||||
jsr popax ; Get the left hand operand
|
||||
ldy tmp1 ; Get shift count
|
||||
|
||||
@ -71,13 +71,13 @@ L4: adc #8 ; Correct counter
|
||||
tay ; Shift count into Y
|
||||
pla ; Restore low byte
|
||||
stx tmp1 ; Save high byte of lhs
|
||||
L5: asl a
|
||||
rol tmp1
|
||||
L5: asl a
|
||||
rol tmp1
|
||||
dey
|
||||
bne L5
|
||||
bne L5
|
||||
|
||||
; Done with shift
|
||||
|
||||
ldx tmp1
|
||||
ldx tmp1
|
||||
L9: rts
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user