conversion to new assembler format
This commit is contained in:
		
							parent
							
								
									8f27f92269
								
							
						
					
					
						commit
						a3b0f08d57
					
				
					 50 changed files with 312 additions and 64 deletions
				
			
		|  | @ -1,6 +1,11 @@ | ||||||
| .define __exit
 | .define __exit
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern __exit
 | .extern __exit
 | ||||||
| .text | .sect .text | ||||||
| __exit: | __exit: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _access
 | .define _access
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _access
 | .extern _access
 | ||||||
| .text | .sect .text | ||||||
| _access: | _access: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _acct
 | .define _acct
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _acct
 | .extern _acct
 | ||||||
| .text | .sect .text | ||||||
| _acct: | _acct: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _alarm
 | .define _alarm
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _alarm
 | .extern _alarm
 | ||||||
| .text | .sect .text | ||||||
| _alarm: | _alarm: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _brk
 | .define _brk
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _brk
 | .extern _brk
 | ||||||
| .text | .sect .text | ||||||
| _brk: | _brk: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),@.reghp
 | movd 8(fp),@.reghp
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _chdir
 | .define _chdir
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _chdir
 | .extern _chdir
 | ||||||
| .text | .sect .text | ||||||
| _chdir: | _chdir: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _chmod
 | .define _chmod
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _chmod
 | .extern _chmod
 | ||||||
| .text | .sect .text | ||||||
| _chmod: | _chmod: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _chown
 | .define _chown
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _chown
 | .extern _chown
 | ||||||
| .text | .sect .text | ||||||
| _chown: | _chown: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| addr 8(fp),r7 | addr 8(fp),r7 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _chroot
 | .define _chroot
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _chroot
 | .extern _chroot
 | ||||||
| .text | .sect .text | ||||||
| _chroot: | _chroot: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define __cleanup
 | .define __cleanup
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern __cleanup
 | .extern __cleanup
 | ||||||
| .text | .sect .text | ||||||
| __cleanup: | __cleanup: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| exit [] | exit [] | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _close
 | .define _close
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _close
 | .extern _close
 | ||||||
| .text | .sect .text | ||||||
| _close: | _close: | ||||||
| movd 0, r4 | movd 0, r4 | ||||||
| ret 0 | ret 0 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _creat
 | .define _creat
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _creat
 | .extern _creat
 | ||||||
| .text | .sect .text | ||||||
| _creat: | _creat: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _dup
 | .define _dup
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _dup
 | .extern _dup
 | ||||||
| .text | .sect .text | ||||||
| _dup: | _dup: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _dup2
 | .define _dup2
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _dup2
 | .extern _dup2
 | ||||||
| .text | .sect .text | ||||||
| _dup2: | _dup2: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),r7 | movd 8(fp),r7 | ||||||
|  |  | ||||||
|  | @ -1,5 +1,10 @@ | ||||||
| .define _errno
 | .define _errno
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _errno
 | .extern _errno
 | ||||||
| .bss | .sect .bss | ||||||
| _errno:.space	4
 | _errno:.space	4
 | ||||||
| .text | .sect .text | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _execl
 | .define _execl
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _execl
 | .extern _execl
 | ||||||
| .text | .sect .text | ||||||
| _execl: | _execl: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd @__penvp,tos
 | movd @__penvp,tos
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _execle
 | .define _execle
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _execle
 | .extern _execle
 | ||||||
| .text | .sect .text | ||||||
| _execle: | _execle: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| addr 12(fp),tos | addr 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _execv
 | .define _execv
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _execv
 | .extern _execv
 | ||||||
| .text | .sect .text | ||||||
| _execv: | _execv: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd @__penvp,tos
 | movd @__penvp,tos
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _execve
 | .define _execve
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _execve
 | .extern _execve
 | ||||||
| .text | .sect .text | ||||||
| _execve: | _execve: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| addr 8(fp),r7 | addr 8(fp),r7 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _exit
 | .define _exit
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _exit
 | .extern _exit
 | ||||||
| .text | .sect .text | ||||||
| _exit: | _exit: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| jsr @__cleanup
 | jsr @__cleanup
 | ||||||
|  |  | ||||||
|  | @ -1,10 +1,15 @@ | ||||||
| .define _fork
 | .define _fork
 | ||||||
| .define _par_uid
 | .define _par_uid
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _par_uid
 | .extern _par_uid
 | ||||||
| .bss | .sect .bss | ||||||
| _par_uid:.space	4
 | _par_uid:.space	4
 | ||||||
| .extern _fork
 | .extern _fork
 | ||||||
| .text | .sect .text | ||||||
| _fork: | _fork: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 2,tos | movd 2,tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _fstat
 | .define _fstat
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _fstat
 | .extern _fstat
 | ||||||
| .text | .sect .text | ||||||
| _fstat: | _fstat: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _ftime
 | .define _ftime
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _ftime
 | .extern _ftime
 | ||||||
| .text | .sect .text | ||||||
| _ftime: | _ftime: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _getegid
 | .define _getegid
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _getegid
 | .extern _getegid
 | ||||||
| .text | .sect .text | ||||||
| _getegid: | _getegid: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 47,tos | movd 47,tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _geteuid
 | .define _geteuid
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _geteuid
 | .extern _geteuid
 | ||||||
| .text | .sect .text | ||||||
| _geteuid: | _geteuid: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 24,tos | movd 24,tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _getgid
 | .define _getgid
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _getgid
 | .extern _getgid
 | ||||||
| .text | .sect .text | ||||||
| _getgid: | _getgid: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 47,tos | movd 47,tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _getpid
 | .define _getpid
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _getpid
 | .extern _getpid
 | ||||||
| .text | .sect .text | ||||||
| _getpid: | _getpid: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 20,tos | movd 20,tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _getuid
 | .define _getuid
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _getuid
 | .extern _getuid
 | ||||||
| .text | .sect .text | ||||||
| _getuid: | _getuid: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 24,tos | movd 24,tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _gtty
 | .define _gtty
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _gtty
 | .extern _gtty
 | ||||||
| .text | .sect .text | ||||||
| _gtty: | _gtty: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -2,16 +2,19 @@ | ||||||
| .define .ignmask, .trpreg | .define .ignmask, .trpreg | ||||||
| .define .stop | .define .stop | ||||||
| .define ERANGE,EILLINS,ECASE | .define ERANGE,EILLINS,ECASE | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| 
 | 
 | ||||||
| base	= 0x10000 |  | ||||||
| topmem	= 0xFFFFFF | topmem	= 0xFFFFFF | ||||||
| 
 | 
 | ||||||
| ERANGE 	= 1 | ERANGE 	= 1 | ||||||
| EILLINS	= 18 | EILLINS	= 18 | ||||||
| ECASE	= 20 | ECASE	= 20 | ||||||
| 
 | 
 | ||||||
| 	.base base
 | 	.sect .text | ||||||
| 	.text |  | ||||||
| 
 | 
 | ||||||
| 	movd begbss, r7 | 	movd begbss, r7 | ||||||
| 	movd endbss, r6 | 	movd endbss, r6 | ||||||
|  | @ -30,21 +33,21 @@ ECASE	= 20 | ||||||
| 	jsr @.putchar
 | 	jsr @.putchar
 | ||||||
| 	bpt | 	bpt | ||||||
| 
 | 
 | ||||||
| .bss | .sect .bss | ||||||
| begbss: | begbss: | ||||||
| .data | .sect .data | ||||||
| hol0: | hol0: | ||||||
| 	.long 0
 | 	.data4 0
 | ||||||
| 	.long 0
 | 	.data4 0
 | ||||||
| argv: | argv: | ||||||
| 	.long 3f
 | 	.data4 3f
 | ||||||
| envp: | envp: | ||||||
| 	.long 0
 | 	.data4 0
 | ||||||
| 3: | 3: | ||||||
| 	.asciz 'PROGRAM' | 	.asciz 'PROGRAM' | ||||||
| .reghp: | .reghp: | ||||||
| 	.long endbss
 | 	.data4 endbss
 | ||||||
| .ignmask: | .ignmask: | ||||||
| 	.short 0
 | 	.data2 0
 | ||||||
| .trpreg: | .trpreg: | ||||||
| 	.long 0
 | 	.data4 0
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _ioctl
 | .define _ioctl
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _ioctl
 | .extern _ioctl
 | ||||||
| .text | .sect .text | ||||||
| _ioctl: | _ioctl: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| addr 8(fp),r7 | addr 8(fp),r7 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _kill
 | .define _kill
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _kill
 | .extern _kill
 | ||||||
| .text | .sect .text | ||||||
| _kill: | _kill: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _link
 | .define _link
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _link
 | .extern _link
 | ||||||
| .text | .sect .text | ||||||
| _link: | _link: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _lock
 | .define _lock
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _lock
 | .extern _lock
 | ||||||
| .text | .sect .text | ||||||
| _lock: | _lock: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _lseek
 | .define _lseek
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _lseek
 | .extern _lseek
 | ||||||
| .text | .sect .text | ||||||
| _lseek: | _lseek: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| addr 8(fp),r7 | addr 8(fp),r7 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _mknod
 | .define _mknod
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _mknod
 | .extern _mknod
 | ||||||
| .text | .sect .text | ||||||
| _mknod: | _mknod: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| addr 8(fp),r7 | addr 8(fp),r7 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _mount
 | .define _mount
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _mount
 | .extern _mount
 | ||||||
| .text | .sect .text | ||||||
| _mount: | _mount: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| addr 8(fp),r7 | addr 8(fp),r7 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _mpxcall
 | .define _mpxcall
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _mpxcall
 | .extern _mpxcall
 | ||||||
| .text | .sect .text | ||||||
| _mpxcall: | _mpxcall: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _nice
 | .define _nice
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _nice
 | .extern _nice
 | ||||||
| .text | .sect .text | ||||||
| _nice: | _nice: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _open
 | .define _open
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _open
 | .extern _open
 | ||||||
| .text | .sect .text | ||||||
| _open: | _open: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _pause
 | .define _pause
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _pause
 | .extern _pause
 | ||||||
| .text | .sect .text | ||||||
| _pause: | _pause: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 29,tos | movd 29,tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _pipe
 | .define _pipe
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _pipe
 | .extern _pipe
 | ||||||
| .text | .sect .text | ||||||
| _pipe: | _pipe: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 42,tos | movd 42,tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _profil
 | .define _profil
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _profil
 | .extern _profil
 | ||||||
| .text | .sect .text | ||||||
| _profil: | _profil: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| addr 8(fp),r7 | addr 8(fp),r7 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _ptrace
 | .define _ptrace
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _ptrace
 | .extern _ptrace
 | ||||||
| .text | .sect .text | ||||||
| _ptrace: | _ptrace: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| xord @_errno,@_errno
 | xord @_errno,@_errno
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _read
 | .define _read
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _read
 | .extern _read
 | ||||||
| .text | .sect .text | ||||||
| _read: | _read: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| save [r0,r1,r2,r3] | save [r0,r1,r2,r3] | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _sbrk
 | .define _sbrk
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _sbrk
 | .extern _sbrk
 | ||||||
| .text | .sect .text | ||||||
| _sbrk: | _sbrk: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd @.reghp,r7
 | movd @.reghp,r7
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _setgid
 | .define _setgid
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _setgid
 | .extern _setgid
 | ||||||
| .text | .sect .text | ||||||
| _setgid: | _setgid: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,9 +1,14 @@ | ||||||
| .define __setsig
 | .define __setsig
 | ||||||
| .bss | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
|  | .sect .bss | ||||||
| _save:.space	4
 | _save:.space	4
 | ||||||
| _trf:.space	4
 | _trf:.space	4
 | ||||||
| .extern __setsig
 | .extern __setsig
 | ||||||
| .text | .sect .text | ||||||
| __setsig: | __setsig: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),@_trf
 | movd 8(fp),@_trf
 | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _setuid
 | .define _setuid
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _setuid
 | .extern _setuid
 | ||||||
| .text | .sect .text | ||||||
| _setuid: | _setuid: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 8(fp),tos | movd 8(fp),tos | ||||||
|  |  | ||||||
|  | @ -1,6 +1,11 @@ | ||||||
| .define _stat
 | .define _stat
 | ||||||
|  | .sect .text | ||||||
|  | .sect .rom | ||||||
|  | .sect .data | ||||||
|  | .sect .bss | ||||||
|  | .sect .text | ||||||
| .extern _stat
 | .extern _stat
 | ||||||
| .text | .sect .text | ||||||
| _stat: | _stat: | ||||||
| enter[], 0 | enter[], 0 | ||||||
| movd 12(fp),tos | movd 12(fp),tos | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue