Commit Graph

36 Commits

Author SHA1 Message Date
74159849c9 Print out result of execution after running 2026-07-17 12:53:56 +10:00
8f64b17777 Include imm16's in the word count (fix the infinite loop bug yay!) 2026-07-17 12:48:04 +10:00
f786235064 use calloc to hopefully not read random stuff 2026-07-17 12:31:42 +10:00
e7350a254f refactor some things to fix things (maybe) 2026-07-17 12:31:29 +10:00
be61ecec0f small fix 2026-07-16 19:29:02 +10:00
ba4121b6c4 Fix bug with imm16 processing 2026-07-16 19:18:49 +10:00
c5fc6a8493 fix instruction loading i think 2026-07-16 19:13:03 +10:00
3bf340d9f2 stuffs 2026-07-16 19:04:36 +10:00
c0da7748d2 Merge branch 'main' of https://chookspace.com/SpookyDervish/MyLittleCPU 2026-07-16 18:43:14 +10:00
14700bdf59 fix file loading 2026-07-16 18:41:52 +10:00
afa45ea82d Update main.c to accept command line input 2026-07-16 18:41:14 +10:00
9828ef2811 Add header generation to assembler 2026-07-16 18:29:51 +10:00
0504067a51 Merge branch 'main' of https://chookspace.com/SpookyDervish/MyLittleCPU 2026-07-16 18:29:05 +10:00
b58b5adf65 start work on interrupts 2026-07-16 18:28:55 +10:00
80bca7059f we assembled something! 2026-07-16 18:21:35 +10:00
82f9644e15 change how flags works 2026-07-16 17:57:14 +10:00
bb0709f6ce stuffs 2026-07-16 14:11:16 +10:00
8e1f83ab31 Merge branch 'main' of https://chookspace.com/SpookyDervish/MyLittleCPU 2026-07-16 14:05:07 +10:00
fb3efc77c3 devices working 2026-07-16 14:05:01 +10:00
68b7667725 refactor a couple things 2026-07-16 14:01:36 +10:00
42fab467f1 more assembler stuff 2026-07-16 13:30:03 +10:00
a2d90f620a change operands for some instructions and start work on devices 2026-07-16 13:13:38 +10:00
c270a48141 Merge branch 'main' of https://chookspace.com/SpookyDervish/MyLittleCPU 2026-07-16 12:44:08 +10:00
74992e673a change SYS instruction to PORT and add imm4 2026-07-16 12:43:41 +10:00
6a91f64fce assembler stub 2026-07-16 12:42:49 +10:00
d5a0df1299 Merge branch 'main' of https://chookspace.com/SpookyDervish/MyLittleCPU 2026-07-16 12:32:17 +10:00
b27c75b5e9 add comments to instruction operand types 2026-07-16 12:31:38 +10:00
92f2cddb99 inline -> static inline 2026-07-16 12:31:29 +10:00
05a458782d fix build file 2026-07-16 12:30:10 +10:00
c4b1bb1ed1 stuff 2026-07-16 12:25:32 +10:00
b53b4b259f repush because chookspace is dying 2026-07-16 12:08:56 +10:00
e1591e9810 add file loading 2026-07-16 12:04:17 +10:00
f84525fa3a include asan with debug builds 2026-07-15 17:52:09 +10:00
c06f070921 instruction encoding and decoding working 2026-07-15 17:31:10 +10:00
9d0c1de3f5 instruction decoding 2026-07-15 15:54:51 +10:00
8e26d3e19d initial commit 2026-07-15 15:02:54 +10:00