From bd9f6d0cd069f3504c1825c6b25c7149c13ff57a Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 21 Sep 2018 15:38:36 -0700 Subject: 4577 --- subx/examples/ex8.subx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'subx/examples') diff --git a/subx/examples/ex8.subx b/subx/examples/ex8.subx index 6ec8d4b0..688d7f1f 100644 --- a/subx/examples/ex8.subx +++ b/subx/examples/ex8.subx @@ -43,7 +43,7 @@ ascii_length: # (s) # initialize s (EDX) 8b/copy 1/mod/*+disp8 4/rm32/sib 4/base/ESP 4/index/none 2/r32/EDX 4/disp8 # copy *(ESP+4) to EDX # var result = 0 (EAX) - b8/copy . . . . . . . 0/imm32 # copy 1 to EAX + b8/copy . . . . . . . 0/imm32 # copy 0 to EAX $al_loop: # var c = *s (ECX) 8a/copy 0/mod/* 2/rm32/EDX . . . 1/r32/ECX . . # copy byte at *EDX to lower byte of ECX -- cgit 1.4.1-2-gfad0
about summary refs log tree commit diff stats
path: root/302stack_allocate.subx
blob: cd51d5ff01681796c6fd09b2de901f2cba918f15 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61