conversion to new assembler format
This commit is contained in:
@@ -1,6 +1,11 @@
|
||||
.define _stty
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _stty
|
||||
.text
|
||||
.sect .text
|
||||
_stty:
|
||||
enter[], 0
|
||||
movd 12(fp),tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _sync
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _sync
|
||||
.text
|
||||
.sect .text
|
||||
_sync:
|
||||
enter[], 0
|
||||
movd 36,tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _tell
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _tell
|
||||
.text
|
||||
.sect .text
|
||||
_tell:
|
||||
enter[], 0
|
||||
movd 1,tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _time
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _time
|
||||
.text
|
||||
.sect .text
|
||||
_time:
|
||||
enter[], 12
|
||||
addr -12(fp),tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _times
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _times
|
||||
.text
|
||||
.sect .text
|
||||
_times:
|
||||
enter[], 0
|
||||
movd 8(fp),tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _umask
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _umask
|
||||
.text
|
||||
.sect .text
|
||||
_umask:
|
||||
enter[], 0
|
||||
movd 8(fp),tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _umount
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _umount
|
||||
.text
|
||||
.sect .text
|
||||
_umount:
|
||||
enter[], 0
|
||||
movd 8(fp),tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _unlink
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _unlink
|
||||
.text
|
||||
.sect .text
|
||||
_unlink:
|
||||
enter[], 0
|
||||
movd 8(fp),tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _utime
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _utime
|
||||
.text
|
||||
.sect .text
|
||||
_utime:
|
||||
enter[], 0
|
||||
movd 12(fp),tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _wait
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _wait
|
||||
.text
|
||||
.sect .text
|
||||
_wait:
|
||||
enter[], 0
|
||||
movd 7,tos
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
.define _write
|
||||
.sect .text
|
||||
.sect .rom
|
||||
.sect .data
|
||||
.sect .bss
|
||||
.sect .text
|
||||
.extern _write
|
||||
.text
|
||||
.sect .text
|
||||
_write:
|
||||
enter[], 0
|
||||
save [r0,r1,r2,r3]
|
||||
|
||||
Reference in New Issue
Block a user