mirror of
https://github.com/cc65/cc65.git
synced 2024-08-18 10:29:06 +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
|