1984-12-17 11:03:13 +00:00
|
|
|
.define Sti1
|
1987-01-30 18:41:42 +00:00
|
|
|
.sect .text
|
|
|
|
.sect .rom
|
|
|
|
.sect .data
|
|
|
|
.sect .bss
|
|
|
|
.sect .text
|
1984-12-17 11:03:13 +00:00
|
|
|
|
|
|
|
! This subroutine stores an onebyte wordfractional at the address
|
|
|
|
! which is in registerpair AX.
|
|
|
|
|
|
|
|
|
|
|
|
Sti1:
|
|
|
|
stx ADDR ! address of byte (lowbyte)
|
|
|
|
sta ADDR+1 ! address of byte (highbyte)
|
|
|
|
jsr Pop ! get byte
|
|
|
|
ldy #0
|
|
|
|
txa
|
|
|
|
sta (ADDR),y ! store byte
|
|
|
|
rts
|
|
|
|
|
|
|
|
|