From 3743cb6aa79bbfa25911e10560b674480e251d2d Mon Sep 17 00:00:00 2001 From: Ian Moffett Date: Sat, 27 Jul 2024 16:48:22 -0400 Subject: cpy -> mov Signed-off-by: Ian Moffett --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index cbc79da..03b619e 100644 --- a/README.md +++ b/README.md @@ -63,7 +63,7 @@ Arithmetic operations can write to all registers except `v0`-`v7`, `x0` and `pc` #### Example ``` /* Set x1 to 5 */ -cpy x1, 5 +mov x1, 5 /* Increment x1 */ inc x1 /* x1 now equals 6 */ @@ -91,8 +91,8 @@ Control flow instructions are used to control which instructions the CPU execute /* Subtract x2 from x1 */ sub x1, x2 beq x1, 0, zero -cpy x1, 2 +mov x1, 2 zero: -cpy x1, 3 +mov x1, 3 /* Iff x1 - x2 = 0, x1 equals 3 */ /* Iff x1 - x1 != 0, x1 equals 2 */ -- cgit v1.2.3