blob: 86bc88ed9602e22ae447cd2f53d2c38624ef787c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
.ref _strtol
.def _atoi
.assume adl=1
; int atoi(char *cp);
_atoi:
pop bc
pop de
push de
push bc
ld bc,10
push bc
ld c,b
push bc
push de
call _strtol
pop de
pop bc
pop bc
ret
|