From c732f4408f59ccb8d09c0c90a16c23922ddfc09e Mon Sep 17 00:00:00 2001 From: n loewen Date: Wed, 2 Aug 2023 10:27:06 +0100 Subject: [PATCH] Remove syntax reference - it's in the readme now --- assembler.js | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/assembler.js b/assembler.js index aa3e5cf..29e227c 100644 --- a/assembler.js +++ b/assembler.js @@ -1,13 +1,3 @@ -// Syntax: -// ADD $01 ; comments follow a `;` -// ADD $FF ; this is direct addressing -// ADD ($CC) ; this is indirect addressing -// END ; END, CFC, and CHP don't require arguments -// ; (a default value of 0 will be used as their operand) -// -// @label ; create a label -// JMP @label ; reference a label - const printMemory = require('./print-memory.js'); // 1 = verbose