mirror of
https://github.com/cc65/cc65.git
synced 2024-09-04 20:29:17 +00:00
23 lines
286 B
ArmAsm
23 lines
286 B
ArmAsm
|
|
||
|
;
|
||
|
; Maciej 'YTM/Alliance' Witkowiak
|
||
|
;
|
||
|
; 21.12.99
|
||
|
|
||
|
; char FreeBlock (struct tr_se *TS);
|
||
|
|
||
|
.import gettrse
|
||
|
.export _FreeBlock
|
||
|
|
||
|
.include "../inc/jumptab.inc"
|
||
|
.include "../inc/geossym.inc"
|
||
|
|
||
|
_FreeBlock:
|
||
|
jsr gettrse
|
||
|
sta r6L
|
||
|
stx r6H
|
||
|
jsr FreeBlock
|
||
|
stx errno
|
||
|
txa
|
||
|
rts
|