diff --git a/1992/buzzard.1/README.md b/1992/buzzard.1/README.md index 3a086ac2f..ac3f786e5 100644 --- a/1992/buzzard.1/README.md +++ b/1992/buzzard.1/README.md @@ -128,34 +128,34 @@ place to site some references on the AE, but I don't have any. ``` MACRO FUNCTION MNEMONIC - V begin variable declarations Variable + V begin variable declarations Variable 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 S(c,a,b) let c = a - b Subtract - 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 + 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 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 - B(b, a) let b = boolean value of a Boolean - P(b, a) let b = 1 if a>0, else 0. Positive + B(b, a) let b = boolean value of a Boolean + 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 - 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 + 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 H halt Haly 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 - X(y) print out hexadecimal value of y heXadecimal - T end of output section and program Terminate + T end of code; begin output section Terminate + X(y) print out hexadecimal value of y heXadecimal + T end of output section and program Terminate ``` You can figure out the other macros yourself. In the sample program, I've diff --git a/1992/buzzard.1/index.html b/1992/buzzard.1/index.html index cda8041ea..1e6f8d7e4 100644 --- a/1992/buzzard.1/index.html +++ b/1992/buzzard.1/index.html @@ -219,34 +219,34 @@ place to site some references on the AE, but I don’t have any.

[Don’t read this unless you’re stumped!]

    MACRO               FUNCTION                                MNEMONIC
 
-    V               begin variable declarations         Variable
+    V               begin variable declarations                 Variable
     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
     S(c,a,b)        let c = a - b                               Subtract
-    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
+    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
     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
-    B(b, a)         let b = boolean value of a          Boolean
-    P(b, a)         let b = 1 if a>0, else 0.           Positive
+    B(b, a)         let b = boolean value of a                  Boolean
+    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
 
-    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
+    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
 
     H               halt                                        Haly
 
     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
-    X(y)            print out hexadecimal value of y    heXadecimal
-    T               end of output section and program   Terminate
+ T end of code; begin output section Terminate + X(y) print out hexadecimal value of y heXadecimal + T end of output section and program Terminate

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 then jumping to a routine– specifically, a routine that converts a number into