stuff
This commit is contained in:
parent
23a50bf8e6
commit
fdef7a8446
530
KT8/KT8.circ
530
KT8/KT8.circ
@ -18,9 +18,6 @@ This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
|
||||
<tool name="Tunnel">
|
||||
<a name="label" val="pop"/>
|
||||
</tool>
|
||||
<tool name="Pull Resistor">
|
||||
<a name="facing" val="north"/>
|
||||
</tool>
|
||||
<tool name="Clock">
|
||||
<a name="facing" val="north"/>
|
||||
</tool>
|
||||
@ -55,8 +52,8 @@ This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
|
||||
</options>
|
||||
<mappings>
|
||||
<tool lib="6" map="Button2" name="Menu Tool"/>
|
||||
<tool lib="6" map="Button3" name="Menu Tool"/>
|
||||
<tool lib="6" map="Ctrl Button1" name="Menu Tool"/>
|
||||
<tool lib="6" map="Button3" name="Menu Tool"/>
|
||||
</mappings>
|
||||
<toolbar>
|
||||
<tool lib="6" name="Poke Tool"/>
|
||||
@ -85,200 +82,150 @@ This file is intended to be loaded by Logisim (http://www.cburch.com/logisim/).
|
||||
<a name="clabel" val=""/>
|
||||
<a name="clabelup" val="east"/>
|
||||
<a name="clabelfont" val="SansSerif plain 12"/>
|
||||
<wire from="(390,390)" to="(650,390)"/>
|
||||
<wire from="(210,90)" to="(210,310)"/>
|
||||
<wire from="(120,270)" to="(120,290)"/>
|
||||
<wire from="(460,170)" to="(460,200)"/>
|
||||
<wire from="(500,380)" to="(570,380)"/>
|
||||
<wire from="(330,190)" to="(350,190)"/>
|
||||
<wire from="(680,170)" to="(690,170)"/>
|
||||
<wire from="(190,110)" to="(190,140)"/>
|
||||
<wire from="(410,200)" to="(410,270)"/>
|
||||
<wire from="(40,150)" to="(40,380)"/>
|
||||
<wire from="(320,210)" to="(350,210)"/>
|
||||
<wire from="(450,310)" to="(480,310)"/>
|
||||
<wire from="(20,240)" to="(20,380)"/>
|
||||
<wire from="(150,280)" to="(160,280)"/>
|
||||
<wire from="(130,150)" to="(150,150)"/>
|
||||
<wire from="(480,170)" to="(480,180)"/>
|
||||
<wire from="(10,270)" to="(120,270)"/>
|
||||
<wire from="(210,90)" to="(240,90)"/>
|
||||
<wire from="(320,100)" to="(320,210)"/>
|
||||
<wire from="(300,130)" to="(300,180)"/>
|
||||
<wire from="(140,270)" to="(160,270)"/>
|
||||
<wire from="(410,410)" to="(720,410)"/>
|
||||
<wire from="(420,310)" to="(430,310)"/>
|
||||
<wire from="(120,120)" to="(190,120)"/>
|
||||
<wire from="(730,210)" to="(730,400)"/>
|
||||
<wire from="(460,200)" to="(710,200)"/>
|
||||
<wire from="(510,320)" to="(610,320)"/>
|
||||
<wire from="(390,350)" to="(400,350)"/>
|
||||
<wire from="(150,250)" to="(150,280)"/>
|
||||
<wire from="(460,200)" to="(460,240)"/>
|
||||
<wire from="(140,90)" to="(140,110)"/>
|
||||
<wire from="(170,50)" to="(340,50)"/>
|
||||
<wire from="(440,340)" to="(450,340)"/>
|
||||
<wire from="(410,290)" to="(410,410)"/>
|
||||
<wire from="(130,150)" to="(130,240)"/>
|
||||
<wire from="(390,200)" to="(440,200)"/>
|
||||
<wire from="(610,290)" to="(610,320)"/>
|
||||
<wire from="(430,240)" to="(430,280)"/>
|
||||
<wire from="(490,400)" to="(730,400)"/>
|
||||
<wire from="(400,290)" to="(410,290)"/>
|
||||
<wire from="(370,380)" to="(490,380)"/>
|
||||
<wire from="(120,120)" to="(160,120)"/>
|
||||
<wire from="(10,100)" to="(90,100)"/>
|
||||
<wire from="(420,170)" to="(420,180)"/>
|
||||
<wire from="(280,170)" to="(280,240)"/>
|
||||
<wire from="(570,350)" to="(570,380)"/>
|
||||
<wire from="(400,320)" to="(410,320)"/>
|
||||
<wire from="(450,260)" to="(660,260)"/>
|
||||
<wire from="(280,240)" to="(280,260)"/>
|
||||
<wire from="(340,110)" to="(340,130)"/>
|
||||
<wire from="(530,130)" to="(550,130)"/>
|
||||
<wire from="(260,230)" to="(260,360)"/>
|
||||
<wire from="(340,130)" to="(390,130)"/>
|
||||
<wire from="(260,230)" to="(260,360)"/>
|
||||
<wire from="(190,120)" to="(190,140)"/>
|
||||
<wire from="(500,330)" to="(500,380)"/>
|
||||
<wire from="(560,350)" to="(570,350)"/>
|
||||
<wire from="(390,350)" to="(390,390)"/>
|
||||
<wire from="(410,290)" to="(410,320)"/>
|
||||
<wire from="(140,110)" to="(140,270)"/>
|
||||
<wire from="(170,160)" to="(290,160)"/>
|
||||
<wire from="(210,310)" to="(380,310)"/>
|
||||
<wire from="(280,240)" to="(430,240)"/>
|
||||
<wire from="(300,180)" to="(420,180)"/>
|
||||
<wire from="(280,100)" to="(320,100)"/>
|
||||
<wire from="(280,240)" to="(460,240)"/>
|
||||
<wire from="(400,320)" to="(400,330)"/>
|
||||
<wire from="(690,250)" to="(720,250)"/>
|
||||
<wire from="(430,350)" to="(450,350)"/>
|
||||
<wire from="(70,120)" to="(70,230)"/>
|
||||
<wire from="(150,100)" to="(150,150)"/>
|
||||
<wire from="(160,110)" to="(190,110)"/>
|
||||
<wire from="(190,140)" to="(380,140)"/>
|
||||
<wire from="(480,290)" to="(480,310)"/>
|
||||
<wire from="(170,140)" to="(170,160)"/>
|
||||
<wire from="(420,180)" to="(450,180)"/>
|
||||
<wire from="(450,340)" to="(450,350)"/>
|
||||
<wire from="(450,310)" to="(450,340)"/>
|
||||
<wire from="(280,90)" to="(330,90)"/>
|
||||
<wire from="(650,240)" to="(650,390)"/>
|
||||
<wire from="(340,290)" to="(370,290)"/>
|
||||
<wire from="(210,90)" to="(210,250)"/>
|
||||
<wire from="(460,330)" to="(460,340)"/>
|
||||
<wire from="(160,110)" to="(160,120)"/>
|
||||
<wire from="(430,280)" to="(470,280)"/>
|
||||
<wire from="(80,130)" to="(80,190)"/>
|
||||
<wire from="(330,90)" to="(330,190)"/>
|
||||
<wire from="(430,310)" to="(430,350)"/>
|
||||
<wire from="(120,90)" to="(210,90)"/>
|
||||
<wire from="(180,170)" to="(180,190)"/>
|
||||
<wire from="(150,250)" to="(210,250)"/>
|
||||
<wire from="(120,130)" to="(300,130)"/>
|
||||
<wire from="(340,270)" to="(410,270)"/>
|
||||
<wire from="(140,110)" to="(340,110)"/>
|
||||
<wire from="(550,130)" to="(550,230)"/>
|
||||
<wire from="(40,380)" to="(50,380)"/>
|
||||
<wire from="(170,90)" to="(210,90)"/>
|
||||
<wire from="(80,130)" to="(90,130)"/>
|
||||
<wire from="(190,270)" to="(390,270)"/>
|
||||
<wire from="(200,320)" to="(200,380)"/>
|
||||
<wire from="(720,210)" to="(720,410)"/>
|
||||
<wire from="(380,150)" to="(380,190)"/>
|
||||
<wire from="(20,380)" to="(50,380)"/>
|
||||
<wire from="(70,230)" to="(260,230)"/>
|
||||
<wire from="(170,50)" to="(170,90)"/>
|
||||
<wire from="(470,180)" to="(480,180)"/>
|
||||
<wire from="(20,240)" to="(130,240)"/>
|
||||
<wire from="(290,160)" to="(290,370)"/>
|
||||
<wire from="(440,170)" to="(440,200)"/>
|
||||
<wire from="(10,100)" to="(10,270)"/>
|
||||
<wire from="(400,300)" to="(400,310)"/>
|
||||
<wire from="(390,310)" to="(390,350)"/>
|
||||
<wire from="(30,320)" to="(200,320)"/>
|
||||
<wire from="(260,230)" to="(550,230)"/>
|
||||
<wire from="(410,200)" to="(440,200)"/>
|
||||
<wire from="(380,190)" to="(620,190)"/>
|
||||
<wire from="(490,380)" to="(490,400)"/>
|
||||
<wire from="(160,170)" to="(180,170)"/>
|
||||
<wire from="(390,310)" to="(400,310)"/>
|
||||
<wire from="(380,150)" to="(390,150)"/>
|
||||
<wire from="(120,140)" to="(170,140)"/>
|
||||
<wire from="(690,170)" to="(690,190)"/>
|
||||
<wire from="(30,110)" to="(90,110)"/>
|
||||
<wire from="(280,260)" to="(430,260)"/>
|
||||
<wire from="(430,310)" to="(480,310)"/>
|
||||
<wire from="(490,290)" to="(490,380)"/>
|
||||
<wire from="(140,90)" to="(170,90)"/>
|
||||
<wire from="(110,290)" to="(120,290)"/>
|
||||
<wire from="(430,260)" to="(430,280)"/>
|
||||
<wire from="(450,260)" to="(450,290)"/>
|
||||
<wire from="(720,210)" to="(720,250)"/>
|
||||
<wire from="(650,240)" to="(660,240)"/>
|
||||
<wire from="(510,350)" to="(520,350)"/>
|
||||
<wire from="(380,140)" to="(380,150)"/>
|
||||
<wire from="(620,170)" to="(620,190)"/>
|
||||
<wire from="(190,290)" to="(410,290)"/>
|
||||
<wire from="(260,360)" to="(460,360)"/>
|
||||
<wire from="(410,290)" to="(450,290)"/>
|
||||
<wire from="(40,150)" to="(150,150)"/>
|
||||
<wire from="(340,50)" to="(340,130)"/>
|
||||
<wire from="(170,170)" to="(180,170)"/>
|
||||
<wire from="(510,320)" to="(510,350)"/>
|
||||
<wire from="(120,110)" to="(140,110)"/>
|
||||
<wire from="(400,330)" to="(410,330)"/>
|
||||
<wire from="(390,200)" to="(410,200)"/>
|
||||
<wire from="(620,170)" to="(640,170)"/>
|
||||
<wire from="(80,190)" to="(180,190)"/>
|
||||
<wire from="(690,190)" to="(710,190)"/>
|
||||
<wire from="(190,280)" to="(420,280)"/>
|
||||
<wire from="(390,200)" to="(390,270)"/>
|
||||
<wire from="(190,380)" to="(200,380)"/>
|
||||
<wire from="(180,170)" to="(280,170)"/>
|
||||
<wire from="(120,100)" to="(150,100)"/>
|
||||
<wire from="(420,280)" to="(420,310)"/>
|
||||
<wire from="(460,330)" to="(500,330)"/>
|
||||
<wire from="(120,100)" to="(150,100)"/>
|
||||
<wire from="(30,110)" to="(30,320)"/>
|
||||
<wire from="(290,370)" to="(340,370)"/>
|
||||
<wire from="(70,120)" to="(90,120)"/>
|
||||
<wire from="(340,270)" to="(340,290)"/>
|
||||
<comp lib="5" loc="(110,290)" name="Button">
|
||||
<a name="label" val="Reset"/>
|
||||
<a name="labelloc" val="west"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(370,380)" name="OR Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
<wire from="(430,240)" to="(460,240)"/>
|
||||
<comp lib="0" loc="(170,170)" name="Clock"/>
|
||||
<comp lib="5" loc="(470,280)" name="Keyboard"/>
|
||||
<comp lib="4" loc="(530,130)" name="RAM">
|
||||
<a name="addrWidth" val="4"/>
|
||||
<a name="bus" val="separate"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(460,360)" name="Controlled Buffer">
|
||||
<a name="facing" val="south"/>
|
||||
<a name="width" val="8"/>
|
||||
</comp>
|
||||
<comp lib="5" loc="(470,280)" name="Keyboard"/>
|
||||
<comp loc="(190,270)" name="sel gen"/>
|
||||
<comp lib="1" loc="(470,180)" name="NOT Gate">
|
||||
<a name="size" val="20"/>
|
||||
</comp>
|
||||
<comp lib="5" loc="(710,200)" name="TTY"/>
|
||||
<comp lib="4" loc="(190,380)" name="ROM">
|
||||
<a name="contents">addr/data: 8 8
|
||||
e 47 2f 72
|
||||
</a>
|
||||
</comp>
|
||||
<comp lib="4" loc="(530,130)" name="RAM">
|
||||
<a name="addrWidth" val="4"/>
|
||||
<a name="bus" val="separate"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(690,250)" name="AND Gate">
|
||||
<comp lib="1" loc="(370,380)" name="OR Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(440,340)" name="AND Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
<a name="negate1" val="true"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(390,200)" name="NOR Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(240,110)" name="Constant">
|
||||
<a name="width" val="4"/>
|
||||
<a name="value" val="0xe"/>
|
||||
</comp>
|
||||
<comp loc="(120,100)" name="cpu"/>
|
||||
<comp lib="1" loc="(400,290)" name="NOT Gate"/>
|
||||
<comp lib="1" loc="(470,180)" name="NOT Gate">
|
||||
<a name="size" val="20"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(380,310)" name="Splitter">
|
||||
<a name="fanout" val="1"/>
|
||||
<a name="incoming" val="4"/>
|
||||
<a name="bit1" val="none"/>
|
||||
<a name="bit2" val="none"/>
|
||||
<a name="bit3" val="none"/>
|
||||
</comp>
|
||||
<comp loc="(120,90)" name="cpu"/>
|
||||
<comp lib="5" loc="(340,390)" name="Button">
|
||||
<a name="label" val="RKD"/>
|
||||
<a name="labelloc" val="west"/>
|
||||
</comp>
|
||||
<comp lib="5" loc="(710,200)" name="TTY"/>
|
||||
<comp lib="0" loc="(160,170)" name="Clock"/>
|
||||
<comp lib="0" loc="(560,350)" name="Bit Extender">
|
||||
<a name="in_width" val="7"/>
|
||||
<a name="out_width" val="8"/>
|
||||
</comp>
|
||||
<comp lib="5" loc="(110,290)" name="Button">
|
||||
<a name="label" val="Reset"/>
|
||||
<a name="labelloc" val="west"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(680,170)" name="Bit Extender">
|
||||
<a name="out_width" val="7"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(280,100)" name="Comparator">
|
||||
<a name="width" val="4"/>
|
||||
<a name="mode" val="unsigned"/>
|
||||
</comp>
|
||||
</circuit>
|
||||
<circuit name="cpu">
|
||||
<a name="circuit" val="cpu"/>
|
||||
@ -290,13 +237,13 @@ e 47 2f 72
|
||||
<wire from="(400,390)" to="(480,390)"/>
|
||||
<wire from="(710,270)" to="(830,270)"/>
|
||||
<wire from="(620,420)" to="(680,420)"/>
|
||||
<wire from="(750,290)" to="(830,290)"/>
|
||||
<wire from="(440,110)" to="(440,270)"/>
|
||||
<wire from="(530,360)" to="(530,380)"/>
|
||||
<wire from="(70,190)" to="(110,190)"/>
|
||||
<wire from="(220,630)" to="(430,630)"/>
|
||||
<wire from="(240,510)" to="(240,520)"/>
|
||||
<wire from="(560,310)" to="(570,310)"/>
|
||||
<wire from="(750,290)" to="(820,290)"/>
|
||||
<wire from="(570,100)" to="(570,310)"/>
|
||||
<wire from="(670,320)" to="(700,320)"/>
|
||||
<wire from="(550,410)" to="(730,410)"/>
|
||||
@ -309,13 +256,13 @@ e 47 2f 72
|
||||
<wire from="(550,340)" to="(590,340)"/>
|
||||
<wire from="(580,270)" to="(580,460)"/>
|
||||
<wire from="(680,390)" to="(680,420)"/>
|
||||
<wire from="(320,220)" to="(320,560)"/>
|
||||
<wire from="(390,490)" to="(510,490)"/>
|
||||
<wire from="(270,140)" to="(470,140)"/>
|
||||
<wire from="(360,530)" to="(360,560)"/>
|
||||
<wire from="(320,220)" to="(320,560)"/>
|
||||
<wire from="(440,350)" to="(470,350)"/>
|
||||
<wire from="(570,310)" to="(690,310)"/>
|
||||
<wire from="(360,530)" to="(360,560)"/>
|
||||
<wire from="(270,140)" to="(470,140)"/>
|
||||
<wire from="(210,110)" to="(210,170)"/>
|
||||
<wire from="(570,310)" to="(690,310)"/>
|
||||
<wire from="(220,530)" to="(220,630)"/>
|
||||
<wire from="(370,500)" to="(660,500)"/>
|
||||
<wire from="(250,510)" to="(250,530)"/>
|
||||
@ -325,10 +272,11 @@ e 47 2f 72
|
||||
<wire from="(500,450)" to="(600,450)"/>
|
||||
<wire from="(220,320)" to="(220,520)"/>
|
||||
<wire from="(500,410)" to="(500,450)"/>
|
||||
<wire from="(550,270)" to="(580,270)"/>
|
||||
<wire from="(150,130)" to="(160,130)"/>
|
||||
<wire from="(160,120)" to="(160,130)"/>
|
||||
<wire from="(550,270)" to="(580,270)"/>
|
||||
<wire from="(410,160)" to="(510,160)"/>
|
||||
<wire from="(530,440)" to="(560,440)"/>
|
||||
<wire from="(160,120)" to="(160,130)"/>
|
||||
<wire from="(530,290)" to="(530,310)"/>
|
||||
<wire from="(400,170)" to="(400,390)"/>
|
||||
<wire from="(590,340)" to="(590,480)"/>
|
||||
@ -354,6 +302,8 @@ e 47 2f 72
|
||||
<wire from="(270,220)" to="(320,220)"/>
|
||||
<wire from="(430,540)" to="(430,630)"/>
|
||||
<wire from="(480,360)" to="(480,390)"/>
|
||||
<wire from="(780,250)" to="(830,250)"/>
|
||||
<wire from="(540,150)" to="(780,150)"/>
|
||||
<wire from="(410,470)" to="(710,470)"/>
|
||||
<wire from="(250,530)" to="(360,530)"/>
|
||||
<wire from="(730,310)" to="(830,310)"/>
|
||||
@ -362,6 +312,7 @@ e 47 2f 72
|
||||
<wire from="(440,270)" to="(440,330)"/>
|
||||
<wire from="(660,390)" to="(660,500)"/>
|
||||
<wire from="(100,560)" to="(320,560)"/>
|
||||
<wire from="(470,140)" to="(510,140)"/>
|
||||
<wire from="(760,350)" to="(830,350)"/>
|
||||
<wire from="(510,290)" to="(510,350)"/>
|
||||
<wire from="(200,530)" to="(220,530)"/>
|
||||
@ -370,23 +321,27 @@ e 47 2f 72
|
||||
<wire from="(530,530)" to="(540,530)"/>
|
||||
<wire from="(270,170)" to="(400,170)"/>
|
||||
<wire from="(390,180)" to="(390,490)"/>
|
||||
<wire from="(820,290)" to="(830,290)"/>
|
||||
<wire from="(370,370)" to="(370,500)"/>
|
||||
<wire from="(270,150)" to="(460,150)"/>
|
||||
<wire from="(140,200)" to="(170,200)"/>
|
||||
<wire from="(780,150)" to="(780,250)"/>
|
||||
<wire from="(100,210)" to="(100,560)"/>
|
||||
<wire from="(530,310)" to="(560,310)"/>
|
||||
<wire from="(700,290)" to="(700,320)"/>
|
||||
<wire from="(220,530)" to="(250,530)"/>
|
||||
<wire from="(530,310)" to="(560,310)"/>
|
||||
<wire from="(270,180)" to="(390,180)"/>
|
||||
<wire from="(670,280)" to="(680,280)"/>
|
||||
<wire from="(530,430)" to="(530,440)"/>
|
||||
<wire from="(160,120)" to="(620,120)"/>
|
||||
<wire from="(470,280)" to="(520,280)"/>
|
||||
<wire from="(460,150)" to="(510,150)"/>
|
||||
<wire from="(820,160)" to="(820,290)"/>
|
||||
<wire from="(130,170)" to="(210,170)"/>
|
||||
<wire from="(340,640)" to="(760,640)"/>
|
||||
<wire from="(470,280)" to="(520,280)"/>
|
||||
<wire from="(510,350)" to="(520,350)"/>
|
||||
<wire from="(760,350)" to="(760,640)"/>
|
||||
<wire from="(340,640)" to="(760,640)"/>
|
||||
<wire from="(560,310)" to="(560,380)"/>
|
||||
<wire from="(760,350)" to="(760,640)"/>
|
||||
<wire from="(270,210)" to="(360,210)"/>
|
||||
<wire from="(440,350)" to="(440,530)"/>
|
||||
<wire from="(530,480)" to="(530,530)"/>
|
||||
@ -398,36 +353,57 @@ e 47 2f 72
|
||||
<wire from="(560,380)" to="(560,440)"/>
|
||||
<wire from="(170,100)" to="(570,100)"/>
|
||||
<wire from="(690,290)" to="(690,310)"/>
|
||||
<wire from="(270,230)" to="(340,230)"/>
|
||||
<wire from="(620,120)" to="(620,420)"/>
|
||||
<comp lib="0" loc="(830,330)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="label" val="W/~R"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<wire from="(270,230)" to="(340,230)"/>
|
||||
<comp lib="0" loc="(150,150)" name="Pin">
|
||||
<a name="width" val="8"/>
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="Instruction"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(420,530)" name="Bit Extender">
|
||||
<a name="in_width" val="4"/>
|
||||
<a name="out_width" val="8"/>
|
||||
<comp lib="1" loc="(140,200)" name="AND Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
<a name="negate1" val="true"/>
|
||||
</comp>
|
||||
<comp lib="2" loc="(250,510)" name="Decoder">
|
||||
<a name="select" val="4"/>
|
||||
<a name="disabled" val="0"/>
|
||||
<comp lib="4" loc="(550,340)" name="Register"/>
|
||||
<comp lib="0" loc="(670,280)" name="Constant"/>
|
||||
<comp lib="0" loc="(830,310)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="width" val="8"/>
|
||||
<a name="label" val="RAM out"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(130,170)" name="Pin">
|
||||
<a name="width" val="8"/>
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="RAM in"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(540,150)" name="OR Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="3"/>
|
||||
</comp>
|
||||
<comp lib="4" loc="(710,270)" name="Counter"/>
|
||||
<comp lib="4" loc="(550,410)" name="Register"/>
|
||||
<comp loc="(570,530)" name="alu"/>
|
||||
<comp lib="0" loc="(150,130)" name="Pin">
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="Reset"/>
|
||||
</comp>
|
||||
<comp lib="2" loc="(500,340)" name="Multiplexer">
|
||||
<a name="width" val="8"/>
|
||||
<a name="disabled" val="0"/>
|
||||
<a name="enable" val="false"/>
|
||||
</comp>
|
||||
<comp lib="2" loc="(250,300)" name="Decoder">
|
||||
<comp lib="0" loc="(830,330)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="label" val="W/~R"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="2" loc="(250,510)" name="Decoder">
|
||||
<a name="select" val="4"/>
|
||||
<a name="disabled" val="0"/>
|
||||
<a name="enable" val="false"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(830,290)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
@ -436,35 +412,7 @@ e 47 2f 72
|
||||
<a name="label" val="Address"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(140,200)" name="AND Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
<a name="negate1" val="true"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(830,270)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="width" val="8"/>
|
||||
<a name="label" val="Code address"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(670,280)" name="Constant"/>
|
||||
<comp lib="4" loc="(550,340)" name="Register"/>
|
||||
<comp lib="0" loc="(150,130)" name="Pin">
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="Reset"/>
|
||||
</comp>
|
||||
<comp loc="(570,530)" name="alu"/>
|
||||
<comp lib="0" loc="(70,190)" name="Pin">
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="pull" val="down"/>
|
||||
<a name="label" val="Clock"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(670,360)" name="OR Gate">
|
||||
<a name="facing" val="north"/>
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(820,160)" name="Pull Resistor"/>
|
||||
<comp lib="0" loc="(830,350)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
@ -482,6 +430,39 @@ e 47 2f 72
|
||||
<a name="bit6" val="none"/>
|
||||
<a name="bit7" val="none"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(670,360)" name="OR Gate">
|
||||
<a name="facing" val="north"/>
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(70,190)" name="Pin">
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="pull" val="down"/>
|
||||
<a name="label" val="Clock"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(830,270)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="width" val="8"/>
|
||||
<a name="label" val="Code address"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(420,530)" name="Bit Extender">
|
||||
<a name="in_width" val="4"/>
|
||||
<a name="out_width" val="8"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(830,250)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="label" val="En?"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="2" loc="(250,300)" name="Decoder">
|
||||
<a name="select" val="4"/>
|
||||
<a name="disabled" val="0"/>
|
||||
<a name="enable" val="false"/>
|
||||
</comp>
|
||||
<comp lib="4" loc="(550,270)" name="Register"/>
|
||||
<comp lib="0" loc="(180,320)" name="Splitter">
|
||||
<a name="fanout" val="1"/>
|
||||
<a name="incoming" val="8"/>
|
||||
@ -494,21 +475,6 @@ e 47 2f 72
|
||||
<a name="bit6" val="0"/>
|
||||
<a name="bit7" val="0"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(830,310)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="width" val="8"/>
|
||||
<a name="label" val="RAM out"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="4" loc="(550,410)" name="Register"/>
|
||||
<comp lib="0" loc="(130,170)" name="Pin">
|
||||
<a name="width" val="8"/>
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="RAM in"/>
|
||||
</comp>
|
||||
<comp lib="4" loc="(710,270)" name="Counter"/>
|
||||
<comp lib="4" loc="(550,270)" name="Register"/>
|
||||
</circuit>
|
||||
<circuit name="alu">
|
||||
<a name="circuit" val="alu"/>
|
||||
@ -520,6 +486,7 @@ e 47 2f 72
|
||||
<wire from="(290,430)" to="(370,430)"/>
|
||||
<wire from="(220,420)" to="(220,460)"/>
|
||||
<wire from="(230,300)" to="(240,300)"/>
|
||||
<wire from="(390,320)" to="(430,320)"/>
|
||||
<wire from="(340,260)" to="(430,260)"/>
|
||||
<wire from="(230,410)" to="(360,410)"/>
|
||||
<wire from="(360,280)" to="(360,410)"/>
|
||||
@ -535,10 +502,11 @@ e 47 2f 72
|
||||
<wire from="(150,240)" to="(200,240)"/>
|
||||
<wire from="(200,210)" to="(200,220)"/>
|
||||
<wire from="(220,190)" to="(240,190)"/>
|
||||
<wire from="(220,550)" to="(250,550)"/>
|
||||
<wire from="(320,240)" to="(320,350)"/>
|
||||
<wire from="(270,370)" to="(330,370)"/>
|
||||
<wire from="(320,240)" to="(320,350)"/>
|
||||
<wire from="(220,550)" to="(250,550)"/>
|
||||
<wire from="(310,230)" to="(430,230)"/>
|
||||
<wire from="(400,330)" to="(400,560)"/>
|
||||
<wire from="(230,360)" to="(230,390)"/>
|
||||
<wire from="(320,240)" to="(430,240)"/>
|
||||
<wire from="(230,390)" to="(230,410)"/>
|
||||
@ -550,6 +518,7 @@ e 47 2f 72
|
||||
<wire from="(220,280)" to="(220,310)"/>
|
||||
<wire from="(330,250)" to="(430,250)"/>
|
||||
<wire from="(300,220)" to="(430,220)"/>
|
||||
<wire from="(290,560)" to="(400,560)"/>
|
||||
<wire from="(370,290)" to="(430,290)"/>
|
||||
<wire from="(220,340)" to="(240,340)"/>
|
||||
<wire from="(200,240)" to="(200,590)"/>
|
||||
@ -560,79 +529,43 @@ e 47 2f 72
|
||||
<wire from="(220,400)" to="(220,420)"/>
|
||||
<wire from="(220,400)" to="(350,400)"/>
|
||||
<wire from="(190,200)" to="(210,200)"/>
|
||||
<wire from="(380,300)" to="(430,300)"/>
|
||||
<wire from="(220,370)" to="(220,400)"/>
|
||||
<wire from="(380,300)" to="(430,300)"/>
|
||||
<wire from="(220,370)" to="(240,370)"/>
|
||||
<wire from="(270,390)" to="(340,390)"/>
|
||||
<wire from="(220,240)" to="(220,280)"/>
|
||||
<wire from="(270,390)" to="(340,390)"/>
|
||||
<wire from="(200,210)" to="(230,210)"/>
|
||||
<wire from="(380,300)" to="(380,470)"/>
|
||||
<wire from="(220,190)" to="(220,240)"/>
|
||||
<wire from="(280,350)" to="(320,350)"/>
|
||||
<wire from="(220,190)" to="(220,240)"/>
|
||||
<wire from="(280,250)" to="(290,250)"/>
|
||||
<wire from="(230,260)" to="(230,300)"/>
|
||||
<wire from="(400,330)" to="(430,330)"/>
|
||||
<wire from="(220,500)" to="(250,500)"/>
|
||||
<wire from="(350,270)" to="(350,400)"/>
|
||||
<wire from="(210,190)" to="(220,190)"/>
|
||||
<wire from="(310,230)" to="(310,320)"/>
|
||||
<wire from="(290,470)" to="(380,470)"/>
|
||||
<wire from="(220,460)" to="(220,500)"/>
|
||||
<wire from="(190,220)" to="(200,220)"/>
|
||||
<wire from="(450,360)" to="(450,590)"/>
|
||||
<wire from="(220,460)" to="(220,500)"/>
|
||||
<wire from="(210,190)" to="(210,200)"/>
|
||||
<wire from="(450,360)" to="(450,590)"/>
|
||||
<wire from="(270,320)" to="(310,320)"/>
|
||||
<wire from="(290,510)" to="(390,510)"/>
|
||||
<wire from="(290,210)" to="(290,250)"/>
|
||||
<wire from="(350,270)" to="(430,270)"/>
|
||||
<wire from="(330,250)" to="(330,370)"/>
|
||||
<wire from="(230,210)" to="(230,260)"/>
|
||||
<wire from="(390,320)" to="(390,510)"/>
|
||||
<wire from="(270,290)" to="(300,290)"/>
|
||||
<wire from="(360,280)" to="(430,280)"/>
|
||||
<wire from="(220,240)" to="(240,240)"/>
|
||||
<comp lib="0" loc="(430,310)" name="Constant">
|
||||
<a name="width" val="8"/>
|
||||
<a name="value" val="0x0"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(250,520)" name="Constant">
|
||||
<a name="width" val="8"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(190,200)" name="Pin">
|
||||
<a name="width" val="8"/>
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="A"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(270,390)" name="NOT Gate">
|
||||
<a name="width" val="8"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(270,290)" name="AND Gate">
|
||||
<a name="width" val="8"/>
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(290,560)" name="Subtractor"/>
|
||||
<comp lib="3" loc="(290,430)" name="Shifter"/>
|
||||
<comp lib="3" loc="(280,200)" name="Adder"/>
|
||||
<comp lib="1" loc="(280,350)" name="XOR Gate">
|
||||
<a name="width" val="8"/>
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(190,220)" name="Pin">
|
||||
<a name="width" val="8"/>
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="B"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(290,470)" name="Shifter">
|
||||
<a name="shift" val="lr"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(150,240)" name="Pin">
|
||||
<a name="width" val="4"/>
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="Op"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(290,510)" name="Adder"/>
|
||||
<comp lib="0" loc="(250,480)" name="Constant">
|
||||
<a name="width" val="3"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(290,560)" name="Subtractor"/>
|
||||
<comp lib="2" loc="(470,280)" name="Multiplexer">
|
||||
<a name="select" val="4"/>
|
||||
<a name="width" val="8"/>
|
||||
@ -646,20 +579,169 @@ e 47 2f 72
|
||||
<a name="label" val="R"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(430,310)" name="Constant">
|
||||
<a name="width" val="8"/>
|
||||
<a name="value" val="0x0"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(290,470)" name="Shifter">
|
||||
<a name="shift" val="lr"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(250,570)" name="Constant">
|
||||
<a name="width" val="8"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(250,480)" name="Constant">
|
||||
<a name="width" val="3"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(250,520)" name="Constant">
|
||||
<a name="width" val="8"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(250,440)" name="Constant">
|
||||
<a name="width" val="3"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(290,510)" name="Adder"/>
|
||||
<comp lib="3" loc="(280,250)" name="Subtractor"/>
|
||||
<comp lib="1" loc="(270,320)" name="OR Gate">
|
||||
<a name="width" val="8"/>
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(280,250)" name="Subtractor"/>
|
||||
<comp lib="1" loc="(280,350)" name="XOR Gate">
|
||||
<a name="width" val="8"/>
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(290,430)" name="Shifter"/>
|
||||
<comp lib="1" loc="(270,390)" name="NOT Gate">
|
||||
<a name="width" val="8"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(190,220)" name="Pin">
|
||||
<a name="width" val="8"/>
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="B"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(280,200)" name="Adder"/>
|
||||
<comp lib="1" loc="(270,370)" name="NOT Gate">
|
||||
<a name="width" val="8"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(250,570)" name="Constant">
|
||||
<comp lib="1" loc="(270,290)" name="AND Gate">
|
||||
<a name="width" val="8"/>
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(190,200)" name="Pin">
|
||||
<a name="width" val="8"/>
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="A"/>
|
||||
</comp>
|
||||
</circuit>
|
||||
<circuit name="sel gen">
|
||||
<a name="circuit" val="sel gen"/>
|
||||
<a name="clabel" val=""/>
|
||||
<a name="clabelup" val="east"/>
|
||||
<a name="clabelfont" val="SansSerif plain 12"/>
|
||||
<wire from="(440,310)" to="(460,310)"/>
|
||||
<wire from="(380,350)" to="(440,350)"/>
|
||||
<wire from="(500,300)" to="(530,300)"/>
|
||||
<wire from="(400,290)" to="(410,290)"/>
|
||||
<wire from="(320,190)" to="(320,230)"/>
|
||||
<wire from="(440,350)" to="(440,360)"/>
|
||||
<wire from="(520,320)" to="(520,380)"/>
|
||||
<wire from="(310,200)" to="(310,250)"/>
|
||||
<wire from="(590,300)" to="(600,300)"/>
|
||||
<wire from="(520,380)" to="(540,380)"/>
|
||||
<wire from="(180,210)" to="(180,270)"/>
|
||||
<wire from="(400,240)" to="(400,290)"/>
|
||||
<wire from="(180,270)" to="(440,270)"/>
|
||||
<wire from="(450,290)" to="(470,290)"/>
|
||||
<wire from="(200,190)" to="(200,360)"/>
|
||||
<wire from="(540,310)" to="(540,320)"/>
|
||||
<wire from="(500,350)" to="(530,350)"/>
|
||||
<wire from="(160,210)" to="(180,210)"/>
|
||||
<wire from="(180,190)" to="(200,190)"/>
|
||||
<wire from="(320,230)" to="(350,230)"/>
|
||||
<wire from="(440,360)" to="(470,360)"/>
|
||||
<wire from="(520,320)" to="(540,320)"/>
|
||||
<wire from="(270,190)" to="(320,190)"/>
|
||||
<wire from="(440,310)" to="(440,350)"/>
|
||||
<wire from="(550,350)" to="(590,350)"/>
|
||||
<wire from="(400,240)" to="(430,240)"/>
|
||||
<wire from="(440,290)" to="(450,290)"/>
|
||||
<wire from="(590,350)" to="(600,350)"/>
|
||||
<wire from="(440,250)" to="(440,270)"/>
|
||||
<wire from="(310,250)" to="(350,250)"/>
|
||||
<wire from="(200,360)" to="(360,360)"/>
|
||||
<wire from="(450,290)" to="(450,340)"/>
|
||||
<wire from="(200,190)" to="(230,190)"/>
|
||||
<wire from="(480,240)" to="(490,240)"/>
|
||||
<wire from="(540,360)" to="(540,380)"/>
|
||||
<wire from="(550,300)" to="(590,300)"/>
|
||||
<wire from="(440,270)" to="(520,270)"/>
|
||||
<wire from="(520,270)" to="(520,320)"/>
|
||||
<wire from="(450,340)" to="(470,340)"/>
|
||||
<wire from="(270,200)" to="(310,200)"/>
|
||||
<wire from="(390,240)" to="(400,240)"/>
|
||||
<wire from="(450,240)" to="(480,240)"/>
|
||||
<comp lib="1" loc="(550,350)" name="Controlled Buffer"/>
|
||||
<comp lib="0" loc="(600,300)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="label" val="k sel"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(500,300)" name="AND Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
<a name="negate1" val="true"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(440,290)" name="NOT Gate"/>
|
||||
<comp lib="0" loc="(480,240)" name="Pull Resistor"/>
|
||||
<comp lib="1" loc="(550,300)" name="Controlled Buffer"/>
|
||||
<comp lib="0" loc="(590,350)" name="Pull Resistor"/>
|
||||
<comp lib="0" loc="(230,210)" name="Constant">
|
||||
<a name="width" val="4"/>
|
||||
<a name="value" val="0xe"/>
|
||||
</comp>
|
||||
<comp lib="3" loc="(270,200)" name="Comparator">
|
||||
<a name="width" val="4"/>
|
||||
<a name="mode" val="unsigned"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(490,240)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="label" val="mem sel"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(600,350)" name="Pin">
|
||||
<a name="facing" val="west"/>
|
||||
<a name="output" val="true"/>
|
||||
<a name="label" val="d sel"/>
|
||||
<a name="labelloc" val="east"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(160,210)" name="Pin">
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="en?"/>
|
||||
</comp>
|
||||
<comp lib="0" loc="(590,300)" name="Pull Resistor"/>
|
||||
<comp lib="0" loc="(360,360)" name="Splitter">
|
||||
<a name="fanout" val="1"/>
|
||||
<a name="incoming" val="4"/>
|
||||
<a name="bit1" val="none"/>
|
||||
<a name="bit2" val="none"/>
|
||||
<a name="bit3" val="none"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(390,240)" name="NOR Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(450,240)" name="Controlled Buffer"/>
|
||||
<comp lib="0" loc="(180,190)" name="Pin">
|
||||
<a name="width" val="4"/>
|
||||
<a name="tristate" val="false"/>
|
||||
<a name="label" val="Address"/>
|
||||
</comp>
|
||||
<comp lib="1" loc="(500,350)" name="AND Gate">
|
||||
<a name="size" val="30"/>
|
||||
<a name="inputs" val="2"/>
|
||||
</comp>
|
||||
</circuit>
|
||||
</project>
|
||||
|
@ -1,5 +1,5 @@
|
||||
insSet={"LOADA"=>"0", "LOADB"=>"1", "SAVE"=>"2", "LOWBITS"=>"3", "ADD"=>"40", "SUB"=>"41", "AND"=>"42", "OR"=>"43", "XOR"=>"44", "INVA"=>"45", "INVB"=>"46", "PASSA"=>"47", "PASSB"=>"48", "LSHIFT"=>"49", "RSHIFT"=>"4a", "CLEAR"=>"4b", "INC"=>"4c", "DEC"=>"4d", "RESET"=>"72", "HALT"=>"80", "RKD"=>"90"}
|
||||
puts "Assembly file:"
|
||||
insSet={"LOADA"=>"0", "LOADB"=>"1", "SAVE"=>"2", "LOWBITS"=>"3", "ADD"=>"40", "SUB"=>"41", "AND"=>"42", "OR"=>"43", "XOR"=>"44", "INVA"=>"45", "INVB"=>"46", "PASSA"=>"47", "PASSB"=>"48", "LSHIFT"=>"49", "RSHIFT"=>"4a", "CLEAR"=>"4b", "INC"=>"4c", "DEC"=>"4d"}
|
||||
file=gets.chomp!
|
||||
outFile=file.gsub(".asm", ".code")
|
||||
file=File.open(file, "r")
|
||||
@ -7,10 +7,11 @@ outFile=File.open(outFile, "w")
|
||||
outFile.puts "v2.0 raw"
|
||||
file.each_line do |line|
|
||||
line = line.split(" ")
|
||||
if insSet[line[0][0]].length == 1
|
||||
if insSet[line[0]].length == 1
|
||||
outFile.puts insSet[line[0]]+line[1]
|
||||
else
|
||||
outFile.puts insSet[line[0][0]]
|
||||
|
||||
outFile.puts insSet[line[0]]
|
||||
end
|
||||
end
|
||||
file.close
|
||||
|
4
KT8/inc.asm
Normal file
4
KT8/inc.asm
Normal file
@ -0,0 +1,4 @@
|
||||
LOADA 0
|
||||
INC
|
||||
SAVE 0
|
||||
RESET
|
@ -1,2 +1,5 @@
|
||||
v2.0 raw
|
||||
00
|
||||
4c
|
||||
20
|
||||
72
|
4
KT8/te.asm
Normal file
4
KT8/te.asm
Normal file
@ -0,0 +1,4 @@
|
||||
LOADA e
|
||||
PASSA
|
||||
SAVE f
|
||||
RESET
|
5
KT8/te.code
Normal file
5
KT8/te.code
Normal file
@ -0,0 +1,5 @@
|
||||
v2.0 raw
|
||||
0e
|
||||
47
|
||||
2f
|
||||
72
|
@ -1 +0,0 @@
|
||||
LOADA f
|
Loading…
Reference in New Issue
Block a user