Commit Graph
124 Commits
Author SHA1 Message Date
Anachronaut c512f07305 Fixed input bugs.
Input from stdin now works as expected in the emulator.
New program to demo input from the command line.
2024-11-01 16:41:25 -04:00
Anachronaut f4c78e68ba DP offset instructions, new demo programs.
Added DPUP and DPDN, which take a one byte operand specifying how far up or down to offset the Data Pointer.
Three Fibonacci generators using the print.asm library.
 - 8 bit values printing in decimal representation.
- 16 bit values printing in hexadecimal representation.
- 32 bit values printing in hexadecimal representation.
2024-11-01 12:13:13 -04:00
Anachronaut 228cf0593a Added stuff. Fixed bug.
Data Pointer value now properly displayed in debug mode.
Added conditional calls to match conditional branches.
2024-10-31 13:30:15 -04:00
Anachronaut c64f097810 Added bit shift instructions.
SHL and SHR treat A and B as a 16 bit circular shift register and rotates them either left or right.
2024-10-30 16:06:33 -04:00
Anachronaut a58fb3d694 Added new instructions.
Added CCF - Clear Carry Flag
Added BRC - Branch on Carry Flag
Improved CALL and RET - All registers but status now saved and restored.
2024-10-29 21:04:03 -04:00
Anachronaut 992e44ca12 CALL and RET instructions.
Changed PSHP and POPP into CALL and RET, streamlining their use for subroutine calls.
Updated Assembler and Emulator.
New demonstration programs.
2024-10-27 19:18:54 -04:00
Anachronaut a17af6eff7 Update Assembler.c 2024-10-26 15:46:09 -04:00
Anachronaut 8485c0e50a Delete Source/utility.h 2024-10-26 15:34:22 -04:00
Anachronaut 7f557c4925 Delete Source/utility.c 2024-10-26 15:34:15 -04:00
Anachronaut fd80fe7345 Delete Source/io.h 2024-10-26 15:34:06 -04:00
Anachronaut 50d325ae29 Delete Source/io.c 2024-10-26 15:33:59 -04:00
Anachronaut 83d0522722 Delete Source/emulator.c 2024-10-26 15:33:51 -04:00
Anachronaut a032f43b8d Delete Source/cpu.h 2024-10-26 15:33:43 -04:00
Anachronaut 15d8672844 Delete Source/cpu.c 2024-10-26 15:33:34 -04:00
Anachronaut 6ecb100d6c Delete Source/bootstrap.h 2024-10-26 15:33:24 -04:00
Anachronaut fc9281d595 Delete Source/bootstrap.c 2024-10-26 15:33:13 -04:00
Anachronaut 0df6271f8b Delete Source/assembly.h 2024-10-26 15:32:11 -04:00
Anachronaut 671f283dd2 Delete Source/assembly.c 2024-10-26 15:31:59 -04:00
Anachronaut dfa5ad2638 Assembler Completed
Added the Assembler.
Added instructions for the assembler to README.md
Added Assembler Manual
Modified Makefile to build the Assembler.
2024-10-26 15:31:24 -04:00
Anachronaut ae5d475f45 Delete Source/hello.bin 2024-10-26 13:50:10 -04:00
Anachronaut 4deb56953d Improved debug display.
Bug fixes: POPD and POPP now pull bytes from the stack in proper order.
2024-10-18 18:01:23 -04:00
Anachronaut 60450253cd Assorted bug fixes. Added INIA and INIB instructions. 2024-10-18 16:23:03 -04:00
Anachronaut 158cbf443d Bug fixes
Added stack collision detection.
Added SETD instruction.
2024-10-17 18:40:54 -04:00
Anachronaut 2fd311f107 Uploaded Initial Repo Files 2024-10-16 23:12:59 -04:00