From 20d6be52405130930fde9ca5bb5e95131ba4e659 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Thu, 14 Jan 2021 14:03:32 -0800 Subject: 7520 --- html/baremetal/mu-init.subx.html | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) (limited to 'html/baremetal/mu-init.subx.html') diff --git a/html/baremetal/mu-init.subx.html b/html/baremetal/mu-init.subx.html index 59895590..b765f7e0 100644 --- a/html/baremetal/mu-init.subx.html +++ b/html/baremetal/mu-init.subx.html @@ -63,12 +63,22 @@ if ('onhashchange' in window) { 9 # initialize stack 10 bd/copy-to-ebp 0/imm32 11 # no heap yet -12 (main) -13 -14 # hang indefinitely -15 { -16 eb/jump loop/disp8 -17 } +12 # +13 # always first run tests +14 (run-tests) +15 (num-test-failures) # => eax +16 # call main if tests all passed +17 { +18 3d/compare-eax-and 0/imm32 +19 75/jump-if-!= break/disp8 +20 (clear-screen) +21 (main) +22 } +23 +24 # hang indefinitely +25 { +26 eb/jump loop/disp8 +27 } -- cgit 1.4.1-2-gfad0 4ba87f9ab7246'>freebsd/Makefile
blob: b05720268e447df63f64047582b49f3ab54372be (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91