all repos — nand2tetris @ main

my nand2tetris progress

5901297f
Fix TWO bad return bugs, make init optional
x1phosura x1phosura@x1phosura.zone
Tue, 12 Dec 2023 21:23:35 -0800
99fc7e2f
Fix broken static push/pop implementation
x1phosura x1phosura@x1phosura.zone
Thu, 07 Dec 2023 22:16:42 -0800
2fd8ddb8
Draft function|call|return VM instr.s (TODO debug)
x1phosura x1phosura@x1phosura.zone
Tue, 05 Dec 2023 02:47:08 -0800
231ae71a
Handle directory arg, translate inner VM files
x1phosura x1phosura@x1phosura.zone
Sun, 26 Nov 2023 20:10:47 -0800
67290b1e
Implement VM branching instructions
x1phosura x1phosura@x1phosura.zone
Mon, 13 Nov 2023 03:13:14 -0800
549494cd
Copy over project 7 VM files for project 8
x1phosura x1phosura@x1phosura.zone
Tue, 07 Nov 2023 19:16:04 -0800
36a2fdaa
Finish/fix remaining VM instructions
x1phosura x1phosura@x1phosura.zone
Tue, 07 Nov 2023 18:46:17 -0800
c7c3d810
Generate static seg. symbol, fix push instruction
x1phosura x1phosura@x1phosura.zone
Sat, 04 Nov 2023 14:35:19 -0700
044076b7
Implement parser, push/pop VM instructions
x1phosura x1phosura@x1phosura.zone
Sat, 04 Nov 2023 04:12:21 -0700
27dad78b
Reorganize base code, add util.h
x1phosura x1phosura@x1phosura.zone
Mon, 08 May 2023 02:31:42 -0700
6b59b2d1
Add proj. 7 files, code structure, and line reader
x1phosura x1phosura@x1phosura.zone
Mon, 08 May 2023 02:08:42 -0700
9c169a59
Add script for project 6 tests
x1phosura x1phosura@x1phosura.zone
Thu, 06 Apr 2023 12:04:00 -0700
8c016de0
Reorganize codebase, misc n2tasm1 tweaks/fixes
x1phosura x1phosura@x1phosura.zone
Sat, 11 Mar 2023 04:55:52 -0800
3d7b5708
Rewrite: Parse C-type comp field, add output file
x1phosura x1phosura@x1phosura.zone
Mon, 13 Feb 2023 03:59:42 -0800
1c1e42a8
Rewrite: Parse C-type jump field
x1phosura x1phosura@x1phosura.zone
Wed, 08 Feb 2023 01:51:58 -0800
b41b4800
Rewrite: Parse C-type dest field
x1phosura x1phosura@x1phosura.zone
Wed, 08 Feb 2023 00:43:36 -0800
04bd5fdb
Rewrite: Add parse_c_type() structure
x1phosura x1phosura@x1phosura.zone
Mon, 06 Feb 2023 15:32:31 -0800
c5ab5300
Rewrite: Add A-type instr support, misc. refactors
x1phosura x1phosura@x1phosura.zone
Mon, 06 Feb 2023 04:04:23 -0800
aebb9645
Rewrite: Add label symbol support, misc. tidying
x1phosura x1phosura@x1phosura.zone
Sat, 04 Feb 2023 06:03:46 -0800
c52dc71d
Start assembler rewrite, misc. tidying
x1phosura x1phosura@x1phosura.zone
Thu, 02 Feb 2023 01:43:08 -0800
92ae8419
Finish label/variable symbol support, misc tidy up
x1phosura x1phosura@x1phosura.zone
Fri, 13 Jan 2023 04:22:30 -0800
b753de64
Add symbol support for labels
x1phosura x1phosura@x1phosura.zone
Mon, 02 Jan 2023 23:59:26 -0800
bba9e222
Support CRLF newlines, some misc. refactors
x1phosura x1phosura@x1phosura.zone
Sun, 25 Dec 2022 22:59:53 -0800
45c79632
Ignore dest field reg order, more error() changes
x1phosura x1phosura@x1phosura.zone
Sun, 25 Dec 2022 15:20:53 -0800
12d25839
Parse C-type comp field, improve error logging
x1phosura x1phosura@x1phosura.zone
Sun, 25 Dec 2022 02:14:12 -0800
d779bea5
Parse C-type instruction dest field
x1phosura x1phosura@x1phosura.zone
Wed, 21 Dec 2022 05:03:08 -0800
c7c9a8b3
Parse C-type instruction jump field
x1phosura x1phosura@x1phosura.zone
Wed, 21 Dec 2022 03:57:47 -0800
cc2f5559
Write C-type logic, stub C-type field parsers
x1phosura x1phosura@x1phosura.zone
Wed, 21 Dec 2022 02:52:55 -0800
aba8a91d
Add reading assembly from file
x1phosura x1phosura@x1phosura.zone
Mon, 19 Dec 2022 18:28:26 -0800
aedf3d1b
parse_a_type(): remove redundant w/s stripping
x1phosura x1phosura@x1phosura.zone
Mon, 28 Nov 2022 13:17:34 -0800
eb26ec22
Implement own atoi() for A-type instruction parser
x1phosura x1phosura@x1phosura.zone
Sat, 26 Nov 2022 19:21:22 -0800
dd033e2c
Implement A-type instruction parse logic
x1phosura x1phosura@x1phosura.zone
Fri, 25 Nov 2022 22:44:54 -0800
62471871
Misc. clean-up of A/C-type parse structure
x1phosura x1phosura@x1phosura.zone
Fri, 25 Nov 2022 19:20:43 -0800
1a738e55
Add basic line parser, Makefile, fix binary helper
x1phosura x1phosura@x1phosura.zone
Thu, 06 Oct 2022 00:47:17 -0700
fb4ae27a
Add binary output helper for assembler
x1phosura x1phosura@x1phosura.zone
Sat, 27 Aug 2022 23:22:49 -0700
2dd25de3
Add project 6 skeleton files, reorganize
x1phosura x1phosura@x1phosura.zone
Sat, 27 Aug 2022 22:16:00 -0700
fe18b30c
FINISH COMPUTER!!!
x1phosura x1phosura@x1phosura.zone
Sat, 20 Aug 2022 00:05:24 -0700
00ca6d9d
Fix incorrect D register load logic
x1phosura x1phosura@x1phosura.zone
Sat, 20 Aug 2022 00:04:22 -0700
9fadd3a3
Correct actual jump logic, pass CPU.tst
x1phosura x1phosura@x1phosura.zone
Fri, 29 Jul 2022 22:09:42 -0700
0a805a5b
Fix jump logic to check C-instruction
x1phosura x1phosura@x1phosura.zone
Thu, 28 Jul 2022 23:35:45 -0700
07772ec3
Implement most of CPU.hdl
x1phosura x1phosura@x1phosura.zone
Thu, 28 Jul 2022 00:04:25 -0700
d9dc9bbc
Implement Memory.hdl, add PROGRESS.md
x1phosura x1phosura@x1phosura.zone
Sun, 06 Mar 2022 16:22:50 -0800
00037ad9
Write optimized/semi-unrolled Fill, add comments
x1phosura x1phosura@x1phosura.zone
Sun, 26 Dec 2021 19:52:08 -0800
15255334
Remove 2 instructions in BLACK_SCREEN
x1phosura x1phosura@x1phosura.zone
Fri, 17 Dec 2021 15:18:30 -0800
72b4b55a
Add project 5 skeleton files
x1phosura x1phosura@x1phosura.zone
Sun, 12 Dec 2021 02:11:01 -0800
830f9925
Re-do Fill.asm (TODO optimize later)
x1phosura x1phosura@x1phosura.zone
Sun, 12 Dec 2021 02:00:54 -0800
cd6d60e3
Re-do Mult.asm
x1phosura x1phosura@x1phosura.zone
Sat, 11 Dec 2021 17:44:03 -0800
eba8ddfc
Add project 4 skeleton files
x1phosura x1phosura@x1phosura.zone
Sat, 11 Dec 2021 17:15:16 -0800
f75e04cf
Re-do RAM512.hdl, RAM4K.hdl, and RAM16K.hdl
x1phosura x1phosura@x1phosura.zone
Sat, 04 Dec 2021 16:10:21 -0800
3d86fc3c
Re-do RAM8.hdl and RAM64.hdl
x1phosura x1phosura@x1phosura.zone
Sat, 04 Dec 2021 15:55:33 -0800
eb1b3a54
Re-do Bit.hdl, PC.hdl, and Register.hdl
x1phosura x1phosura@x1phosura.zone
Sat, 04 Dec 2021 15:34:50 -0800
5a944706
Add project 3 skeleton files
x1phosura x1phosura@x1phosura.zone
Sat, 04 Dec 2021 15:17:15 -0800
a89b07f2
Re-do ALU.hdl
x1phosura x1phosura@x1phosura.zone
Sat, 04 Dec 2021 15:12:24 -0800
ae38c018
Re-do Add16.hdl and Inc16.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 20:56:01 -0800
ed7d30be
Re-do HalfAdder.hdl and FullAdder.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 20:42:21 -0800
d6683af6
Add project 2 skeleton files
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 20:27:16 -0800
2177927c
Re-do And16.hdl, Not16.hdl, Or16.hdl, Or8Way.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 20:26:23 -0800
758efc49
Re-do DMux4Way.hdl and DMux8Way.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 20:13:57 -0800
5a1ae4cc
Re-do Mux4Way16.hdl and Mux8Way16.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 19:46:14 -0800
ca4cfc98
Re-do Mux.hdl, DMux.hdl, and Mux16.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 19:31:36 -0800
ff759eb5
Re-do And.hdl, Not,hdl, Or.hdl, and Xor.hdl
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 19:15:26 -0800
78a2cfd0
Add README.md and PROGRESS.md
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 18:52:02 -0800
56dabf7f
Initial commit, add project skeleton files
x1phosura x1phosura@x1phosura.zone
Sun, 28 Nov 2021 18:16:12 -0800