18 lines
191 B
ArmAsm
18 lines
191 B
ArmAsm
.define _getgid
|
|
.sect .text
|
|
.sect .rom
|
|
.sect .data
|
|
.sect .bss
|
|
.sect .text
|
|
.extern _getgid
|
|
.sect .text
|
|
_getgid:
|
|
enter[], 0
|
|
movd 47,tos
|
|
jsr @.mon
|
|
adjspd -4
|
|
movd tos,r7
|
|
movd r7,r4
|
|
exit []
|
|
ret 0
|