From 9a8cb12c8e15a41c302029f5e2d932d7e6a553b1 Mon Sep 17 00:00:00 2001 From: Russell-S-Harper Date: Fri, 26 Apr 2019 20:38:14 -0400 Subject: [PATCH] Revising comments. --- common/common.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/common.h b/common/common.h index 558b26d..8230fbb 100644 --- a/common/common.h +++ b/common/common.h @@ -42,8 +42,8 @@ ; BRO xxyy 0a yy xx PC <- PC + xxyy - branch if overflow (after arithmetic operations) ; BRU xxyy 0b yy xx PC <- PC + xxyy - branch if underflow (after arithmetic operations) ; CPR pq 0c pq Rp <- Rq - copy register -; LDI pq 0d pq Rp <- (int(Rq)) - load indirect via allocated memory offset -; SVI pq 0e pq (int(Rp)) <- Rq - save indirect via allocated memory offset +; LDI pq 0d pq Rp <- (int(Rq)) - load indirect via index to allocated memory (offset = index * 4) +; SVI pq 0e pq (int(Rp)) <- Rq - save indirect via index to allocated memory (offset = index * 4) ; CMR pq 0f pq F <- Rp <=> Rq - compare registers ; 40 bytes in page zero for common registers