Minecraft CPU performing DIVISION
in this video, my minecraft CPU runs a program i wrote for it that divides two numbers given by the user. this is the code i used: 00: 1011000000000000 load(0)=$0 01: 1011000000010001 load(1)=$1 02: 1011100000000010 load(128)=$2 03: 1011111111110011 load(255)=$3 04: 1011000000001110 load(user_input_2)=$14 05: 1011000000001111 load(user_input_1)=$15 06: 0111111100000100 or($15,$0)=$4 07: 0000001100010011 add($3,$1)=$3 08: 0001010011100100 subtract($4,$14)=$4 09: 0110010000100101 and($4,$2)=$5 10: 1100010101010111 if($5,$5)=#7 11: 0000010011100100 add($4,$14)=$4 12: 1010001101001111 print($3,$4)=all screens 13: 1100000000001101 if($0,$0)=#13
Похожие видео
Показать еще