···11-//! F18A is a 18-bit computer architecture designed by Chuck Moore.
11+//! The F18A is an 18-bit computer designed by Chuck Moore.
2233pub const Word = i18;
44···106106 };
107107 /// control and status for communication ports and I/O logic.
108108 io: Word,
109109- /// serves as a "program computer"
109109+ /// serves as a "program counter" and extended arithmetic flag
110110 p: ProgramCounter,
111111 /// general purpose read/write address or data register
112112 a: Word,
···114114 b: u9,
115115 /// instruction words containing 1, 2, 3 or 4 opcodes for execution
116116 i: Word,
117117-117117+ /// top 64 words are RAM, bottom half are ROM
118118 mem: [128]Word,
119119-119119+ // 9 word stack
120120 return_stack: stack.ReturnStack,
121121+ // 10 word stack
121122 data_stack: stack.DataStack,
122122-123123+ // involved in some Extended Arithmetic mode instructions
123124 carry: u1,
124125125126 state: State = .fetch,
126126-127127+ // keeps track of current slot to help address decoding
127128 slot: u2,
128129129130 pub fn step(self: *Computer) void {