Question: I need to know the answer immediately.. CellV.java is a virtual machine programs source code. What should i do; 1-)At the first picture, add a

I need to know the answer immediately..

CellV.java is a virtual machine programs source code.

What should i do;

1-)At the first picture, add a three-letter mnemonic code representing% and ^ as an instruction type. For example, mod, pwr

2-)At the second picture, to print the instruction string, add the mnemonic code added to the declaration and the display character string.

3-)At the third picture, add processing of mod and pwr.

*The last picture is main program. I need to know the answer immediately.. CellV.java is a virtual machine

programs source code. What should i do; 1-)At the first picture, add

a three-letter mnemonic code representing% and ^ as an instruction type. For

example, mod, pwr 2-)At the second picture, to print the instruction string,

CellV.java public class Cellv / display flag / boolean pCode, pTrace; public Cellv /*???????*/ static final int ict = 1; static final int lit 2; static final int lod 3; static final int Ida 4; static final int sto5; static final int cal6; static final int ret 7; static final int di t 8; static final int dik9: static final int jmp 10; static final int jpc 11; static final int arr= 12; static final int opr 13; InstVal/ InstVal/ /InstAddr / InstAddr, load address InstAddr, store / InstRet display kaihuku */ /InstAddr / /* display taih? */ InstA Final?????, ???????? ??? /*????????*/ static final int neg 20; static final int add21; static final int sub22; static final int mu23; static final int div 24; static final int eq1 25; static final int neq26; static final int 1ss27; static final int gtr28; static final int leq 29; static final int geq= 30; static final int lid 31; static final int ini 32; static final int sid 33; static final int prt 34; static final int pri = 35; static final int stp 36; ???,????????se^?? /* /* /* LoadinDirec read number * Store!nDirect 3?????????????? ??? ????, mod, pwr?? static final int MAXCODE 200 static final int MAXMEM2000 static final int MAXREG 500; Inst code[] = new Inst [MAXCODE); int cIndex 1 int stacknew int [MAXMEM] int top 0; / length of object code */ /* size of stack / /*??????????? /* stack */ / index of code[] / /stack pointer / / program counter / int ol0, o20 CellV.java public class Cellv / display flag / boolean pCode, pTrace; public Cellv /*???????*/ static final int ict = 1; static final int lit 2; static final int lod 3; static final int Ida 4; static final int sto5; static final int cal6; static final int ret 7; static final int di t 8; static final int dik9: static final int jmp 10; static final int jpc 11; static final int arr= 12; static final int opr 13; InstVal/ InstVal/ /InstAddr / InstAddr, load address InstAddr, store / InstRet display kaihuku */ /InstAddr / /* display taih? */ InstA Final?????, ???????? ??? /*????????*/ static final int neg 20; static final int add21; static final int sub22; static final int mu23; static final int div 24; static final int eq1 25; static final int neq26; static final int 1ss27; static final int gtr28; static final int leq 29; static final int geq= 30; static final int lid 31; static final int ini 32; static final int sid 33; static final int prt 34; static final int pri = 35; static final int stp 36; ???,????????se^?? /* /* /* LoadinDirec read number * Store!nDirect 3?????????????? ??? ????, mod, pwr?? static final int MAXCODE 200 static final int MAXMEM2000 static final int MAXREG 500; Inst code[] = new Inst [MAXCODE); int cIndex 1 int stacknew int [MAXMEM] int top 0; / length of object code */ /* size of stack / /*??????????? /* stack */ / index of code[] / /stack pointer / / program counter / int ol0, o20

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!