Assemble all test programs

pull/1/head
Nemo 3 years ago
parent 0d78eaae73
commit f15f5e6906
  1. 19
      assembler/test
  2. 6
      projects/06/add/Add.hack
  3. 16
      projects/06/max/Max.hack
  4. 16
      projects/06/max/MaxL.hack
  5. 27483
      projects/06/pong/Pong.hack
  6. 27483
      projects/06/pong/PongL.hack
  7. 25
      projects/06/rect/Rect.hack
  8. 25
      projects/06/rect/RectL.hack

@ -0,0 +1,19 @@
#!/bin/sh
pushd ../projects/06/add
../../../tools/Assembler.sh Add.asm
popd
pushd ../projects/06/max
../../../tools/Assembler.sh Max.asm
../../../tools/Assembler.sh MaxL.asm
popd
pushd ../projects/06/rect
../../../tools/Assembler.sh Rect.asm
../../../tools/Assembler.sh RectL.asm
popd
pushd ../projects/06/pong
../../../tools/Assembler.sh Pong.asm
../../../tools/Assembler.sh PongL.asm
popd

@ -0,0 +1,6 @@
0000000000000010
1110110000010000
0000000000000011
1110000010010000
0000000000000000
1110001100001000

@ -0,0 +1,16 @@
0000000000000000
1111110000010000
0000000000000001
1111010011010000
0000000000001010
1110001100000001
0000000000000001
1111110000010000
0000000000001100
1110101010000111
0000000000000000
1111110000010000
0000000000000010
1110001100001000
0000000000001110
1110101010000111

@ -0,0 +1,16 @@
0000000000000000
1111110000010000
0000000000000001
1111010011010000
0000000000001010
1110001100000001
0000000000000001
1111110000010000
0000000000001100
1110101010000111
0000000000000000
1111110000010000
0000000000000010
1110001100001000
0000000000001110
1110101010000111

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

@ -0,0 +1,25 @@
0000000000000000
1111110000010000
0000000000010111
1110001100000110
0000000000010000
1110001100001000
0100000000000000
1110110000010000
0000000000010001
1110001100001000
0000000000010001
1111110000100000
1110111010001000
0000000000010001
1111110000010000
0000000000100000
1110000010010000
0000000000010001
1110001100001000
0000000000010000
1111110010011000
0000000000001010
1110001100000001
0000000000010111
1110101010000111

@ -0,0 +1,25 @@
0000000000000000
1111110000010000
0000000000010111
1110001100000110
0000000000010000
1110001100001000
0100000000000000
1110110000010000
0000000000010001
1110001100001000
0000000000010001
1111110000100000
1110111010001000
0000000000010001
1111110000010000
0000000000100000
1110000010010000
0000000000010001
1110001100001000
0000000000010000
1111110010011000
0000000000001010
1110001100000001
0000000000010111
1110101010000111
Loading…
Cancel
Save