Hi guys,
I am currently deciding on the instructions for my new 4bit hybrid. Now, here is what i have so far:
0000 NOP
0001 ADD
0010 SUB
0011 AND
0100 EXOR
0101 OR
0110 NOT
0111 Display reg (A) (REG defines display)
1000 If (REG = 0001, A < B) (REG = 0010, A=B) (REG = 0011, A > B)
1001
1010
1011 Goto (A and B)
1100 Pause (clock A cycles)
1101 Shift (left (B = 0001) Right (B = 0010))
1110 Take user input (A) and then store in (B)
1111 Move (A) to (B)
But i want to use it all. Now, are there any important ones i need or can you think of something usefull (like make a noise at a frequency)
I am currently deciding on the instructions for my new 4bit hybrid. Now, here is what i have so far:
0000 NOP
0001 ADD
0010 SUB
0011 AND
0100 EXOR
0101 OR
0110 NOT
0111 Display reg (A) (REG defines display)
1000 If (REG = 0001, A < B) (REG = 0010, A=B) (REG = 0011, A > B)
1001
1010
1011 Goto (A and B)
1100 Pause (clock A cycles)
1101 Shift (left (B = 0001) Right (B = 0010))
1110 Take user input (A) and then store in (B)
1111 Move (A) to (B)
But i want to use it all. Now, are there any important ones i need or can you think of something usefull (like make a noise at a frequency)