From af4f62dab0be2c6ef5b2a73a8d9e756914adb5cc Mon Sep 17 00:00:00 2001 From: fincs Date: Sun, 14 Dec 2014 13:31:47 +0100 Subject: [PATCH] Rename ARL to MOVA --- Manual.md | 4 ++-- source/maestro_opcodes.h | 2 +- source/picasso_assembler.cpp | 5 +++-- 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Manual.md b/Manual.md index 915103a..3021339 100644 --- a/Manual.md +++ b/Manual.md @@ -6,7 +6,7 @@ Comments are introduced by the semicolon character. E.g. ``` ; This is a comment -.vecf myFloat ; They can also appear in the same line +.fvec myFloat ; They can also appear in the same line ``` Identifiers follow the same rules as C identifiers. @@ -177,8 +177,8 @@ Syntax | Description `flr rDest, rSrc1` | `rcp rDest, rSrc1` | `rsq rDest, rSrc1` | -`arl rSrc1` | `mov rDest, rSrc1` | +`mova rSrc1` | `cmp rSrc1, opx, opy, rSrc2` | `call procName` | `for iReg` | diff --git a/source/maestro_opcodes.h b/source/maestro_opcodes.h index b3a1d91..1884879 100644 --- a/source/maestro_opcodes.h +++ b/source/maestro_opcodes.h @@ -20,7 +20,7 @@ enum MAESTRO_unk10, MAESTRO_unk11, - MAESTRO_ARL, + MAESTRO_MOVA, MAESTRO_MOV, MAESTRO_unk14, MAESTRO_unk15, diff --git a/source/picasso_assembler.cpp b/source/picasso_assembler.cpp index b45c50e..081a56d 100644 --- a/source/picasso_assembler.cpp +++ b/source/picasso_assembler.cpp @@ -713,7 +713,7 @@ DEF_COMMAND(format5) return 0; } -DEF_COMMAND(formatarl) +DEF_COMMAND(formatmova) { NEXT_ARG(src1Name); ENSURE_NO_MORE_ARGS(); @@ -855,9 +855,10 @@ static const cmdTableType cmdTable[] = DEC_COMMAND(FLR, format1u), DEC_COMMAND(RCP, format1u), DEC_COMMAND(RSQ, format1u), - DEC_COMMAND(ARL, formatarl), DEC_COMMAND(MOV, format1u), + DEC_COMMAND(MOVA, formatmova), + DEC_COMMAND(CMP, format1c), DEC_COMMAND(CALL, formatcall),