mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
272b8e7185
git-svn-id: svn://svn.cc65.org/cc65/trunk@5852 b7a2c559-68d2-44c3-8de9-860c34a00d81
23 lines
352 B
ArmAsm
23 lines
352 B
ArmAsm
;
|
|
; Oliver Schmidt, 2012-10-15
|
|
;
|
|
|
|
.export isdevice
|
|
|
|
.include "zeropage.inc"
|
|
.include "mli.inc"
|
|
|
|
isdevice:
|
|
ldy DEVCNT
|
|
: lda DEVLST,y
|
|
lsr
|
|
lsr
|
|
lsr
|
|
lsr
|
|
sta tmp1
|
|
cpx tmp1
|
|
beq :+
|
|
dey
|
|
bpl :-
|
|
: rts
|