Replaced BNZ with BZ.
Showing
1 changed file
with
7 additions
and
7 deletions
... | @@ -38,12 +38,12 @@ Pops the top of stack value into the numeric register. | ... | @@ -38,12 +38,12 @@ Pops the top of stack value into the numeric register. |
38 | 2.3. Unconditional branch | 38 | 2.3. Unconditional branch |
39 | 39 | ||
40 | Name: instr_branch | 40 | Name: instr_branch |
41 | Arguments: [pc ] (number) New value for pc. | 41 | Arguments: [pc ] (number) Offset of the new cell. |
42 | 42 | ||
43 | 2.4. Branch if not zero | 43 | 2.4. Branch if zero |
44 | 44 | ||
45 | Name: instr_brnz | 45 | Name: instr_brz |
46 | Arguments: [pc ] (number) New value for pc. | 46 | Arguments: [pc ] (number) Offset of the new cell. |
47 | 47 | ||
48 | 2.5. Logical NOT | 48 | 2.5. Logical NOT |
49 | 49 | ||
... | @@ -89,7 +89,7 @@ is translated into the following program | ... | @@ -89,7 +89,7 @@ is translated into the following program |
89 | . | 89 | . |
90 | . | 90 | . |
91 | . | 91 | . |
92 | brnz L_ELSE | 92 | brz L_ELSE |
93 | # Evaluate list1 | 93 | # Evaluate list1 |
94 | . | 94 | . |
95 | . | 95 | . |
... | @@ -112,7 +112,7 @@ is translated into the following program | ... | @@ -112,7 +112,7 @@ is translated into the following program |
112 | . | 112 | . |
113 | . | 113 | . |
114 | . | 114 | . |
115 | brnz L_ELSIF | 115 | brz L_ELSIF |
116 | # Evaluate list1 | 116 | # Evaluate list1 |
117 | . | 117 | . |
118 | . | 118 | . |
... | @@ -123,7 +123,7 @@ L_ELSIF: | ... | @@ -123,7 +123,7 @@ L_ELSIF: |
123 | . | 123 | . |
124 | . | 124 | . |
125 | . | 125 | . |
126 | brnz L_ELSE | 126 | brz L_ELSE |
127 | # Evaluate list 2 | 127 | # Evaluate list 2 |
128 | . | 128 | . |
129 | . | 129 | . | ... | ... |
-
Please register or sign in to post a comment