Commit Graph

15 Commits

Author SHA1 Message Date
n loewen 501910b17f Feature: Keypad simulation!
Refactor: Tidy up constants use for machine configuration
2023-08-16 16:23:59 +01:00
n loewen 3fd862a55d ! Refactor (assembler): Chance constant prefix from '=' to '#'
'=' could be confusing when referencing a constant, since it looks like assignment

'#' is hopefully clearer (by analog to #hashtags)

Breaking change!
2023-08-16 09:35:37 +01:00
n loewen 9fefa0916a Feature (assembler): Allow assigning `*ADDR` to a constant 2023-08-16 09:29:27 +01:00
n loewen 8f9f50e28c Update sketch to suggest use of `*ADDR` 2023-08-15 21:31:35 +01:00
n loewen 4e01a0943c Feature: Add `*ADDR` assembly operation (`*ADDR`, used as an operand, is replaced with the memory address where the current line will be stored after assembly) 2023-08-15 21:29:28 +01:00
n loewen 5c41369ecd Add sketches/notes re: subroutines and a call stack 2023-08-15 20:58:05 +01:00
n loewen 3af5d66626 Feature (simulator): Implement Negative, Zero, and Overflow flags 2023-08-15 15:22:21 +01:00
n loewen b1dc2a7c7e Feature: WIP: Replace CHP and CFC instructions with FHP and FTG (carry flag is implemented, other flags are not) 2023-08-15 12:04:48 +01:00
n loewen 5fa20c3963 Assembler: always add an END at the end of the output 2023-08-03 15:53:59 +01:00
n loewen d3134aa9e6 Add constants to assembler 2023-08-03 15:50:37 +01:00
n loewen a0892109a6 Implement NOP 2023-08-03 15:05:50 +01:00
n loewen fdd63177f7 Move display memory back to $00 to make programming easy 2023-08-03 08:34:58 +01:00
n loewen 6883adcd71 Fix/implement relocatable display memory 2023-08-02 15:28:18 +01:00
n loewen cb186b0f3b Create test program for ADD and SUB 2023-08-02 15:09:35 +01:00
n loewen 29b6097585 Track tests 2023-08-01 15:51:59 +01:00