From 6ea34a35250742d17ef6d36ea25aa46ea0785a61 Mon Sep 17 00:00:00 2001 From: "(Tim) Efthimis Kritikos" Date: Fri, 24 Feb 2023 15:25:45 +0000 Subject: [PATCH] Added MOV Immidiate to REG/MEM --- boot_code/brainfuck_mandelbrot.stage | Bin 0 -> 32768 bytes system/decoder.v | 21 +++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 boot_code/brainfuck_mandelbrot.stage diff --git a/boot_code/brainfuck_mandelbrot.stage b/boot_code/brainfuck_mandelbrot.stage new file mode 100644 index 0000000000000000000000000000000000000000..2cb91ac241f577cf23c961d535f084fe1385f589 GIT binary patch literal 32768 zcmeHNON$g&6fVVyU>+_FNQj1jiA_tga?^AmLS_-j)$@k@D+eaiJBKIpw`SLh*|){? z%HGMeS4^g(mC5>aZE$g8&*j%vS1-=@OtyD1}`lF-0-l*Ff zjNa)DM?dzCjlNs|>(a{2BP-L}$G7gzJ}x$Yo&PaAS#173|84emv3YC$%j}I}^UnOn z?EPZ)Y6^Fr!<}4RMVR^3@%>`-`uP5?(JSNoTciEc@!rX$+iUZerki^w^B1O@`zQ0_ zTCp*HP>ha_AM6?(96#6^9h`o%F}XBbyLW3mT3O#(o9|yQ*5>=xPpr*X)<0aE7vC2f zMO?u^F!1a%@X@K!*$Zb5eRA&9*)KmmfBLgSr@#8*>$9JqId|y7yZfH~^drMyAQ%V+ zf&nnl$*)1T-|6)G^g$PHJ3YRJG^V4Sez)7@$85}f360+dEfNAe)=Io3yOEpp=SY3CJBij*w^b&w^Qx2Gdf<#J#Ed3vbYSF_Kn_6Wzm~F~L@(}DoiZvEIAz`wh*LaeHS+1TU}W`^JtQmSluH18OIwG%Zs0(@tp!o6{=ic6s>mX0qGGG7bsHLaOS zSIygmTXQ$&r#daA-y<^g2GA1rMW{<~2}v`V(p}9P>C(Y*Dpc@pk6}t+>Fu!5z#aO{ z3XhUFFW%IOumzYrV3a1|LAfFXc+y$oVf#KRV1)>Ji#-+ybSDQmcyaBqLwu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K70T1Ik4h+z%H_yJOgobP$)4VLh!&Q?IEN5dLa?GV zX(@zqc#ocI3PpLO-_y9NBx+oXRYA~a*dTUJ!&)4eV4mRIUUE*^tn53o#o}V6>Q&*X zZa?!<_{vXOcFFg-CuP<2+WVOMvFNrU+=+w9lT)BlGn+!*y)h-Nv;!n2Rdd3-id)!} z2La$MC+i7bg}NStWs|pQM=!b{D#A3-rtCGlmsB&s_lTzbCTOQW5jRZ>E_1P{X zag%*kf{IWHn+rdEy<{xg?Dnd7e=|TTDZ}i`MctKwIF1q!jB=Z$Y%_ocD3iVomA$eS zmTGeP|1Pp(Ww)Z+yz8*`;y-W)1HnKr5DWwZ!9Xw&3 | < DISP-HI > | DATA | DATA if W */ + Wbit=CIR[8:8]; + opcode_size=1; + has_operands=1; + in_alu1_sel1=2'b00; + in_alu1_sel2=2'b11; + if(Wbit==1)begin + `start_aligning_instruction; + next_state=`PROC_DE_LOAD_16_PARAM; + end else begin + `start_unaligning_instruction; + next_state=`PROC_DE_LOAD_8_PARAM; + end + + OUT_MOD={1'b0,CIR[7:6]}; + IN_MOD=3'b011; + RM=CIR[2:0]; + + end default:begin `invalid_instruction end