KOMAP
4th Jan 2021
12th Jan 2021
Type commands in keyboard, then press Enter. First number is command, then memory address, then value. Command number includes special flag, that means get value from memory, so 1000 | 0000 | 0001 - means add value from 1 to 0
electronics
electronic
computer
Comments
-
Idk how does it work but +1
-
0 - blankness. just press enter
-
Dumb question, but where do you 'type' in 0s?
-
First input - command type 0 - add value to memory | 1 - multiply value to memory | 2 - set value to memory | 3 - print value from memory | 8 - add value from memory to memory | 9 - multiply value from memory to memory | 10 - set value from memory to memory
-
Second input - memory location | From 0 to 3
-
Third input - value | If command type has 4'th bit, value means memory location
-
All inputs are in binary
-
=============
-
Instruction:Input command in the keyboard, then press enter.First input - command type: | 0 - add value to memory | 1 - multiply value to memory | 2 - set value to memory | 3 - print value from memory | 8 - add value from memory to memory | 9 - multiply value from memory to memory | 10 - set value from memory to memorySecond input - memory location | From 0 to 3Third input - value: | If command type has 4'th bit, value means memory location
-
wooooo