ack/mach/i86/libsys/stty.s

16 lines
211 B
ArmAsm
Raw Permalink Normal View History

1987-01-08 10:41:08 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss; .sect .text
.define _stty
.extern _stty, _ioctl
_stty:
push bp
mov bp,sp
push 6(bp)
1987-01-29 10:33:53 +00:00
mov ax,0x5402
1987-01-08 10:41:08 +00:00
push ax
push 4(bp)
call _ioctl
add sp,6
mov sp,bp
pop bp
ret