mirror of
https://github.com/cc65/cc65.git
synced 2024-11-04 17:04:58 +00:00
53dd513176
which included commits to RCS files with non-trunk default branches. git-svn-id: svn://svn.cc65.org/cc65/trunk@3 b7a2c559-68d2-44c3-8de9-860c34a00d81
26 lines
337 B
ArmAsm
26 lines
337 B
ArmAsm
|
|
;
|
|
; Maciej 'YTM/Alliance' Witkowiak
|
|
;
|
|
; 29.10.99
|
|
|
|
.importzp ptr4
|
|
|
|
.export PointRegs
|
|
|
|
.include "../inc/geossym.inc"
|
|
|
|
PointRegs: ;a/x is a struct pixel*
|
|
sta ptr4
|
|
stx ptr4+1
|
|
ldy #0
|
|
lda (ptr4),y
|
|
sta r3L
|
|
iny
|
|
lda (ptr4),y
|
|
sta r3H
|
|
iny
|
|
lda (ptr4),y
|
|
sta r11L
|
|
rts
|