mirror of
https://github.com/cc65/cc65.git
synced 2024-12-27 00:29:31 +00:00
29 lines
459 B
ArmAsm
29 lines
459 B
ArmAsm
|
;
|
||
|
; Ullrich von Bassewitz, 31.05.1998
|
||
|
;
|
||
|
; Data for the stdio file stream.
|
||
|
;
|
||
|
|
||
|
.export __filetab, _stdin, _stdout, _stderr
|
||
|
|
||
|
.data
|
||
|
|
||
|
__filetab:
|
||
|
in: .byte 0, 1 ; stdin
|
||
|
out: .byte 1, 1 ; stdout
|
||
|
err: .byte 2, 1 ; stderr
|
||
|
.byte 0, 0 ; free slot
|
||
|
.byte 0, 0 ; free slot
|
||
|
.byte 0, 0 ; free slot
|
||
|
.byte 0, 0 ; free slot
|
||
|
.byte 0, 0 ; free slot
|
||
|
|
||
|
_stdin:
|
||
|
.word in
|
||
|
|
||
|
_stdout:
|
||
|
.word out
|
||
|
|
||
|
_stderr:
|
||
|
.word err
|