From 94b3a7af28b385b8e09db4e84af8797e2e7c60ab Mon Sep 17 00:00:00 2001 From: Anachronaut Date: Thu, 13 Aug 2026 23:42:55 -0400 Subject: [PATCH] New SplitBit programs. --- .gitignore | 4 + Programs/16bitFibonacci.bin | Bin 0 -> 500 bytes Programs/16bitSegmentedSieve.bin | Bin 0 -> 1001 bytes Programs/16x16Life.bin | Bin 0 -> 800 bytes Programs/32bitFibonacci.bin | Bin 0 -> 579 bytes Programs/8bitFibonacci.bin | Bin 0 -> 458 bytes Programs/Libraries/int32.asm | 79 ++++ Programs/gameOfLife/16x16Life.asm | 326 ++++++++++++++++ Programs/primeSieve/16bitSegmentedSieve.asm | 236 +++++++++++ Programs/primeSieve/8bitSieve.bin | Bin 0 -> 720 bytes Programs/printHello.bin | Bin 0 -> 483 bytes Programs/replCalculator.asm | 410 ++++++++++++++++++++ Programs/replCalculator.bin | Bin 0 -> 1020 bytes Programs/testPrograms/dataPointerTest.asm | 54 +++ Programs/testPrograms/twoPointerCopy.asm | 46 +++ 15 files changed, 1155 insertions(+) create mode 100644 Programs/16bitFibonacci.bin create mode 100644 Programs/16bitSegmentedSieve.bin create mode 100644 Programs/16x16Life.bin create mode 100644 Programs/32bitFibonacci.bin create mode 100644 Programs/8bitFibonacci.bin create mode 100644 Programs/Libraries/int32.asm create mode 100644 Programs/gameOfLife/16x16Life.asm create mode 100644 Programs/primeSieve/16bitSegmentedSieve.asm create mode 100644 Programs/primeSieve/8bitSieve.bin create mode 100644 Programs/printHello.bin create mode 100644 Programs/replCalculator.asm create mode 100644 Programs/replCalculator.bin create mode 100644 Programs/testPrograms/dataPointerTest.asm create mode 100644 Programs/testPrograms/twoPointerCopy.asm diff --git a/.gitignore b/.gitignore index f8f7461..979d941 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,5 @@ Tests/build/ +Object/ +Assembler +SplitBit +CLAUDE.md diff --git a/Programs/16bitFibonacci.bin b/Programs/16bitFibonacci.bin new file mode 100644 index 0000000000000000000000000000000000000000..6282bac72ce911a605b517c1093bcc1dda8b9322 GIT binary patch literal 500 zcmWFta%XrZz%Wyd>mq}^y22$0A;h4hBEZ1mB*dU}k-pE2{ELKGfZ-H5@(nsz>w?c zB*c&laQF|f0i%9o#^2;ta(OPT~y3;tU+_j7$zr?u-l$&Ke9Zj?N$*3?dAV b+!+~M1Q=$DGcf;maSUN(VHoLvk%0jKqZTRo literal 0 HcmV?d00001 diff --git a/Programs/16bitSegmentedSieve.bin b/Programs/16bitSegmentedSieve.bin new file mode 100644 index 0000000000000000000000000000000000000000..ace554cefcd59a911ec50b1b693feb64eaf8a69a GIT binary patch literal 1001 zcmWFta%Z#=V3?`Kb&)|{UEvah5MoeL5n$kO5@Jxg$lxHrAR+J0z@X^n;O5|_&Shw# z!6?EIAjA;h&cNVc;H0F%D9GU9D!`!c;^3qNqTLx7Tpb*ogcwrA874V8i8D+RV90fJ z5@N`O@#WPSI5;>s#2MPu7}(j_*~J;!j0_5j zZVpO93~K}!7P~VsI0-Rq6JXfq&d8v~=<49=&cvu@CeHBHgIPt0;k*FDVUPxAVTSu4 zEl&j)E{ikj2ryg+X;g9*V)!V)Fi)I;`MJD}y9EgCRFVB`?EDK}JPk#!PW0L0M)`dFF$vtdW{*6Sdhb^*I)ra{aXCooUP0 z=`7gkF1*oGDP&X6x+C)yph2d{}SK*zC;N=^5DVT{$&u z=k!Ryxe1<&(@!qX`M9>^<>p$=t@S_m_cb1z*m!jM%;U2*US9k1{vpT5Cq18@x%u*n P;QRZEA0IvZ{Y?@8Bw>5k literal 0 HcmV?d00001 diff --git a/Programs/16x16Life.bin b/Programs/16x16Life.bin new file mode 100644 index 0000000000000000000000000000000000000000..9f4f7c654f31c0897aa71e76cd632e5792e372ba GIT binary patch literal 800 zcmWFta%bWaV3?`Kb&)|{UEvah5MoeL5n$kO5@Jxg$lxHrAR+J0z@X^n;O5|_&Shw# z!6?EIAjA;h&cNVc;H0F%D9GU9D!`!c;^3qNqTLx7Tpb*ogcwrA874V8i8D+RV90fJ z5@N`O@#WPSI5;>s#2MPu7}(j_*~J;!-QWB`jPn+Y(y zFq6k+m^foHk^uo`0*tn1NV*fv1Q<=tF>wko{*-rd3}NJ981XZh literal 0 HcmV?d00001 diff --git a/Programs/32bitFibonacci.bin b/Programs/32bitFibonacci.bin new file mode 100644 index 0000000000000000000000000000000000000000..00ea1541ce65542a7fbbe0725e40e61a9af83152 GIT binary patch literal 579 zcmWFta%VIYV3?`Kb&)|{UEvah5MoeL5n$kO5@Jxg$lxHrAR+J0z@X^n;O5|_&Shw# z!6?EIAjA;h&cNVc;H0F%D9GU9D!`!c;^3qNqTLx7Tpb*ogcwrA874V8i8D+RV90fJ z5@N`O@#WPSI5;>s#2MPu7}(j_*~J;!DI1BW{!i!;b{1{aVv5Yxd4!gc_2 i;5;bT!HGeHQP)L)VWv0(^M4n|5JnD$5e^uk{s#bHRX9Ze literal 0 HcmV?d00001 diff --git a/Programs/8bitFibonacci.bin b/Programs/8bitFibonacci.bin new file mode 100644 index 0000000000000000000000000000000000000000..77dc8b5e147333bacae390b80aeddab2854eb8a9 GIT binary patch literal 458 zcmWFta%VUoz%Wyd>mq}^y22$0A;h4hBEZ1mB*dU}k-pE2{ELKGfZ-H5@(nsz>w?c zB*c&laQF|f0mq}^y22$0A;h4hBEZ1mB*dU}k-pE2{ELKGfZ-H5@(nsz>w?c zB*c&laQF|f0(=;91>udFV3JW&cLD0=w@unU|^=s=qAE2Q-EQMI0N&47sn7LhLH{!8Ao;q006i- BBv$|c literal 0 HcmV?d00001 diff --git a/Programs/printHello.bin b/Programs/printHello.bin new file mode 100644 index 0000000000000000000000000000000000000000..f8d640a8701241384f21b335d9d751bd7c7e6416 GIT binary patch literal 483 zcmWFta%b2qz%Wyd>mq}^y22$0A;h4hBEZ1mB*dU}k-pE2{ELKGfZ-H5@(nsz>w?c zB*c&laQF|f0 " +BadInput: + "Invalid hexadecimal input." +BadOperator: + "Unknown operator." +Goodbye: + "Goodbye!" + 0x0A diff --git a/Programs/replCalculator.bin b/Programs/replCalculator.bin new file mode 100644 index 0000000000000000000000000000000000000000..4d89b0ff4da213d7862b4119f6cf9adf2ed0368f GIT binary patch literal 1020 zcmWFta%XB0V3?`Kb&)|{UEvah5MoeL5n$kO5@Jxg$lxHrAR+J0z@X^n;O5|_&Shw# z!6?EIAjA;h&cNVc;H0F%D9GU9D!`!c;^3qNqTLx7Tpb*ogcwrA874V8i8D+RV90fJ z5@N`O@#WPSI5;>s#2MPu7}(j_*~J;!!ZwoT=x-+ski8B<7GcXG<%ok@Wa%VIbXOIwJnD5RQ1Y@L#Gf4b@z@Vu)_FnH#bCFW$NC}gBo vB&MV$XXYm6C}idpl$Pi*gyv=E<(KCv