Files
nibbles/start.S
T

18 lines
306 B
ArmAsm

.text
// _start
// ======
// The `_start` symbol. Calls `start_game` with "reasonable parameters".
.global _start
_start:
// `n_apples`
pushl $10
// `len`
pushl $3
// `start_game(int len, int n_apples)`
call start_game
addl $4*2, %esp
// Exit cleanly with an exit code of 0
pushl $0
call _exit