improve layout of 1992/buzzard.1/index.html
Improved indenting or information in a code block. Ran `bin/readme2index.sh -v 1 1992/buzzard.1` to perform the above.
This commit is contained in:
1 parent
cd0b79ab8e
commit
52c404263d
2 files changed
+26
-26
No files matched your search
+13
-13
@@ -128,34 +128,34 @@ place to site some references on the AE, but I don't have any.
|
|||||||
```
|
```
|
||||||
MACRO FUNCTION MNEMONIC
|
MACRO FUNCTION MNEMONIC
|
||||||
|
|
||||||
V begin variable declarations Variable
|
V begin variable declarations Variable
|
||||||
C begin program Code
|
C begin program Code
|
||||||
|
|
||||||
Q(b,a) let b = a eQuals
|
Q(b,a) let b = a eQuals
|
||||||
A(c,a,b) let c = a + b Add
|
A(c,a,b) let c = a + b Add
|
||||||
S(c,a,b) let c = a - b Subtract
|
S(c,a,b) let c = a - b Subtract
|
||||||
D(c,a,b) let c = a / b, where b is a *constant* Divide
|
D(c,a,b) let c = a / b, where b is a *constant* Divide
|
||||||
U(c,a,b) let c = a / b, where b is anything Unknown
|
U(c,a,b) let c = a / b, where b is anything Unknown
|
||||||
M(c,a,b) let c = a * b Multiply
|
M(c,a,b) let c = a * b Multiply
|
||||||
|
|
||||||
O(c,a,b) let c = a boolean-or b (a,b are 0 or 1) Or
|
O(c,a,b) let c = a boolean-or b (a,b are 0 or 1) Or
|
||||||
B(b, a) let b = boolean value of a Boolean
|
B(b, a) let b = boolean value of a Boolean
|
||||||
P(b, a) let b = 1 if a>0, else 0. Positive
|
P(b, a) let b = 1 if a>0, else 0. Positive
|
||||||
|
|
||||||
l emit next sequential label Label
|
l emit next sequential label Label
|
||||||
J(x) goto label #x Jump
|
J(x) goto label #x Jump
|
||||||
|
|
||||||
Z(a,d) if a is 0 goto d (a is 0 or 1) Zero
|
Z(a,d) if a is 0 goto d (a is 0 or 1) Zero
|
||||||
E(a,d) if a is 1 goto d (a is 0 or 1) Else
|
E(a,d) if a is 1 goto d (a is 0 or 1) Else
|
||||||
|
|
||||||
H halt Haly
|
H halt Haly
|
||||||
|
|
||||||
K(x) let x = number of cmd line arguments Kount
|
K(x) let x = number of cmd line arguments Kount
|
||||||
G(x,y) let x = the value if the yth argument Get argument
|
G(x,y) let x = the value if the yth argument Get argument
|
||||||
|
|
||||||
T end of code; begin output section Terminate
|
T end of code; begin output section Terminate
|
||||||
X(y) print out hexadecimal value of y heXadecimal
|
X(y) print out hexadecimal value of y heXadecimal
|
||||||
T end of output section and program Terminate
|
T end of output section and program Terminate
|
||||||
```
|
```
|
||||||
|
|
||||||
You can figure out the other macros yourself. In the sample program, I've
|
You can figure out the other macros yourself. In the sample program, I've
|
||||||
|
|||||||
+13
-13
@@ -219,34 +219,34 @@ place to site some references on the AE, but I don’t have any.</p>
|
|||||||
<p>[Don’t read this unless you’re stumped!]</p>
|
<p>[Don’t read this unless you’re stumped!]</p>
|
||||||
<pre><code> MACRO FUNCTION MNEMONIC
|
<pre><code> MACRO FUNCTION MNEMONIC
|
||||||
|
|
||||||
V begin variable declarations Variable
|
V begin variable declarations Variable
|
||||||
C begin program Code
|
C begin program Code
|
||||||
|
|
||||||
Q(b,a) let b = a eQuals
|
Q(b,a) let b = a eQuals
|
||||||
A(c,a,b) let c = a + b Add
|
A(c,a,b) let c = a + b Add
|
||||||
S(c,a,b) let c = a - b Subtract
|
S(c,a,b) let c = a - b Subtract
|
||||||
D(c,a,b) let c = a / b, where b is a *constant* Divide
|
D(c,a,b) let c = a / b, where b is a *constant* Divide
|
||||||
U(c,a,b) let c = a / b, where b is anything Unknown
|
U(c,a,b) let c = a / b, where b is anything Unknown
|
||||||
M(c,a,b) let c = a * b Multiply
|
M(c,a,b) let c = a * b Multiply
|
||||||
|
|
||||||
O(c,a,b) let c = a boolean-or b (a,b are 0 or 1) Or
|
O(c,a,b) let c = a boolean-or b (a,b are 0 or 1) Or
|
||||||
B(b, a) let b = boolean value of a Boolean
|
B(b, a) let b = boolean value of a Boolean
|
||||||
P(b, a) let b = 1 if a>0, else 0. Positive
|
P(b, a) let b = 1 if a>0, else 0. Positive
|
||||||
|
|
||||||
l emit next sequential label Label
|
l emit next sequential label Label
|
||||||
J(x) goto label #x Jump
|
J(x) goto label #x Jump
|
||||||
|
|
||||||
Z(a,d) if a is 0 goto d (a is 0 or 1) Zero
|
Z(a,d) if a is 0 goto d (a is 0 or 1) Zero
|
||||||
E(a,d) if a is 1 goto d (a is 0 or 1) Else
|
E(a,d) if a is 1 goto d (a is 0 or 1) Else
|
||||||
|
|
||||||
H halt Haly
|
H halt Haly
|
||||||
|
|
||||||
K(x) let x = number of cmd line arguments Kount
|
K(x) let x = number of cmd line arguments Kount
|
||||||
G(x,y) let x = the value if the yth argument Get argument
|
G(x,y) let x = the value if the yth argument Get argument
|
||||||
|
|
||||||
T end of code; begin output section Terminate
|
T end of code; begin output section Terminate
|
||||||
X(y) print out hexadecimal value of y heXadecimal
|
X(y) print out hexadecimal value of y heXadecimal
|
||||||
T end of output section and program Terminate</code></pre>
|
T end of output section and program Terminate</code></pre>
|
||||||
<p>You can figure out the other macros yourself. In the sample program, I’ve
|
<p>You can figure out the other macros yourself. In the sample program, I’ve
|
||||||
actually implemented subroutines by saving a return address in a variable and
|
actually implemented subroutines by saving a return address in a variable and
|
||||||
then jumping to a routine– specifically, a routine that converts a number into
|
then jumping to a routine– specifically, a routine that converts a number into
|
||||||
|
|||||||
Reference in new issue
Block a user