dc1f69be83
there's a nasty memory corruption somewhere which needs investigating.
19 lines
200 B
ArmAsm
19 lines
200 B
ArmAsm
! Declare segments (the order is important).
|
|
|
|
.sect .text
|
|
.sect .rom
|
|
.sect .data
|
|
.sect .bss
|
|
|
|
.sect .text
|
|
|
|
.define _brk
|
|
_brk:
|
|
mov ebx, esp
|
|
mov eax, 1*4(ebx)
|
|
callf (realloc_ptr)
|
|
xor eax, eax
|
|
ret
|
|
|
|
|