From 53b9d1da805cf4e676c3a583265cdd930c5fc5af Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sun, 21 Nov 2010 23:11:39 +0100 Subject: [PATCH] Minsk: Document the registers --- INSTRUCTIONS | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/INSTRUCTIONS b/INSTRUCTIONS index 62c8d95..7e3f8f0 100644 --- a/INSTRUCTIONS +++ b/INSTRUCTIONS @@ -26,6 +26,17 @@ Data format: 5 bits of exponent (2 decimal digits in BCD, the former one truncated to 1 bit) +Registers: + +Minsk-2 has 3 registers: + + accumulator usually keeps the result of the previous arithmetic operation + R1 usually copies one of the operand of the instruction + R2 contains the value of acc + +(most programs use only the accumulator) + + Generic instruction format: (by octal digits; some instructions deviate) sop mm xxxx yyyy -- 2.39.2