mirror of
https://github.com/cc65/cc65.git
synced 2024-11-04 17:04:58 +00:00
13 lines
175 B
ArmAsm
13 lines
175 B
ArmAsm
|
;
|
||
|
; set EINVAL error code and returns -1
|
||
|
;
|
||
|
.include "errno.inc"
|
||
|
.import __retminus
|
||
|
|
||
|
.export __inviocb
|
||
|
|
||
|
__inviocb:
|
||
|
lda #<EINVAL
|
||
|
jsr __seterrno
|
||
|
jmp __retminus ; return -1
|