fixed tokens

This commit is contained in:
2026-09-27 00:14:31 -06:00
parent 6e13571f60
commit 2d9a962cf7
6 changed files with 75 additions and 26 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ void test_literals(TokenFactory& tf) {
void test_addressing_modes(TokenFactory& tf) {
std::cout << "\n--- Testing Addressing Modes ---\n";
run_test_case(asm_ebnf::register_tok, "R0", true);
run_test_case(asm_ebnf::register_tok, "R15", true);
run_test_case(asm_ebnf::register_tok, "R15", false); // R15 does not exist!
run_test_case(asm_ebnf::addrm_ind, "[ 0x1000 ]", true);
run_test_case(asm_ebnf::addrm_ptr, "[R1]", true);