mr.r0bot-kt.v
Mr.r0bot-kt.v is tool that handles computer logic calculations and provides a better experience through your stay at "IC".
Warning
Use mr.r0bot at your own risk, obviously im not responsible for any wrong output or miscalculation.
Execution
Linux
The native binary is provided with each release, to execute it make the file an executable with the following command:
chmod +x mr.r0bot-kt.v(version number)-linux.x
Then just execute the file with:
./mr.r0bot-kt.v(version number)-linux.x
MacOS
Im not providing the native binary for this system, therefore you will have to execute the .jar attached with each release:
java -jar mr.r0bot-kt.v(version number).jar
Windows
Same as MacOS, execute with the following command:
java -jar mr.r0bot-kt.v(version number).jar
Modules
At the moment, only two modules are available, and none of them are 100% completed.
ALU MODULE ; Handles simple ALU (Arithmetic Logic Unit) calculations.
Currently, only one functionality is supported:
- Mnemonic to control phrase
(i.g) -> INPUT: ADD R1, R2, R3
OUTPUT:
┌────────┬────────┬────────┬────────┬────────┬────────┬────────┬───────┬───────┐
│@A │@B │Rb/N │OP │F │In/Alu │@D │WrD │N │
├────────┼────────┼────────┼────────┼────────┼────────┼────────┼───────┼───────┤
│010 │011 │1 │00 │100 │0 │001 │1 │XXXX │
└────────┴────────┴────────┴────────┴────────┴────────┴────────┴───────┴───────┘
Binary Chain: 010011100100000110000000000000000
Hexa Chain: 0x9C830000
SISA-I MODULE ; Handles all types of calculations regarding SISC Harvard unicycle computer
Current supported functionalities:
- Hex to assembly
- Binary to assembly
- Assembly to hex
- Assembly to control phrase
Hex to assembly (i.e) -> INPUT: 0x1559
OUTPUT:
CMPLE R3, R2, R5
Assembly to hex (i.e) -> INPUT: ADDI R5, R7, 0x20
OUTPUT:
0x2F60
Assembly to control phrase(i.e) -> INPUT: STB -3(R4), R7
OUTPUT:
┌─────┬─────┬─────┬─────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┬────┐
│@A │@B │Rb/N │OP │F │-/i/│@D │WrD │Wr-O│Rd-I│Wr-M│Byte│TknB│N │ADDR│
│ │ │ │ │ │l/a │ │ │ut │n │em │ │r │ │-IO │
├─────┼─────┼─────┼─────┼────┼────┼────┼────┼────┼────┼────┼────┼────┼────┼────┤
│100 │111 │0 │00 │100 │XX │XXX │0 │0 │0 │1 │1 │0 │FFFD│XX │
└─────┴─────┴─────┴─────┴────┴────┴────┴────┴────┴────┴────┴────┴────┴────┴────┘
Binary Chain: 10011100010000000000110111111111111110100000000
Hexa Chain: 0x4E2006FFFD00