Riassunto comandi IJVM PDF

Title Riassunto comandi IJVM
Author Andrea Di Lonardo
Course Reti di comunicazione e internet (per ingegneria informatica)
Institution Politecnico di Milano
Pages 1
File Size 55.2 KB
File Type PDF
Total Downloads 72
Total Views 127

Summary

Riassunto comandi IJVM macchina MIC1...


Description

Hex 0x10 0x59 0xA7 0x60 0x7E 0x99 0x9B 0x9F 0x84 0x15 0xB6 0x80 0xAC 0x36 0x64 0x13 0x00 0x57 0x5F 0xC4

Mnemonic BIPUSH byte DUP GOTO offset IADD IAND IFEQ offset IFLT offset IF_ICMPEQ offset IINC varname constname ILOAD varname INVOKEVIRTUAL disp IOR IRETURN ISTORE varname ISUB LDC_W constname NOP POP SWAP WIDE

SET di ISTRUZIONI IJVM Description Push byte onto stack Copy top word on stack a n d push onto stack Unconditional branch Pop two words from stack; push their sum Pop two words from stack; push Boolean AND Pop word from stack a n d branch if it is zero Pop word from stack and branch if it is less than zero Pop two words from stack; branch if equal Add a constant to a local variable Push local variable onto stack Invoke a method Pop two words from stack; push Boolean OR Return from method with integer value Pop word from stack a n d store in local variable Pop two words from stack; push their difference Push constant from constant pool onto stack Do nothing Delete word on top of stack Swap the two top words on the stack Prefix instruction; next instruction has a 16-bit index

ERR HALT IN OUT

Istruzioni aggiuntive Simulatore Print an error message and halt the simulator Halt the simulator Reads a character from keyboard buffer and pushes it into the stack. If no character is available, 0 is pushed. Pop word off stack and print it to standard out....


Similar Free PDFs