Virtual Machine Design and Implementation in C/C++This book begins with a discussion of the theoretical underpinnings of the author's HEC virtual machine and its fundamental design goals, and continues with a section on the implementation of the virtual machine and its debugger. The final section focuses on the HEC assembler, including its interface to the native operating system, interrupts, the assembly language, and how to implement object-oriented constructs. There is also an extended discussion of porting the HEC virtual machine to other platforms. To assist in accomplishing this goal, the author offers a critical path analysis of the development process so that readers can build both their own virtual machine and an entire operating system. The companion CD contains the source code for both the Win32 and Linux ports of the HEC distribution, including the HEC virtual machine, assembler, debugger, and associated development utilities. |
Common terms and phrases
&RAM ADD R10 address space allocated array assembly language big-endian bitwise block break bret toker).match(&t bret==TRUE buffer bytecode bytecode executable bytePos bytePosPass1 bytes char checkCurrentByte current_byte COBOL command line compiler current_byte++ data structures DBG_FMT1("operand DBG_RUNO Optimized debug define DWORD encoded error exception handling Figure floating-point floating-point value fptr function global variable handle handleInt handler hardware hash table HashTbl HASM heap HEC assembly HEC virtual machine identifier if(strcmp((*tptr).text implemented Inputs Outputs instruction INT O LQI integer Intel interrupt invoked Java Linux load memory management MOV R2 nBYTES opcode operating system Pass1 Pass2 pointer printf procedure processor R10 ADD R2 LBI R1 return value retval SB R1 segment server socket source code source file storage strcat strcat listing,t.text strcmp((*tptr).text string table struct Token tptr symbol table TOK_INT_REG tptr).text tptr).type tptr).val Unix unsigned void
References to this book
Disruptive Security Technologies with Mobile Code and Peer-to-Peer Networks R.R. Brooks Limited preview - 2004 |
Disruptive Security Technologies with Mobile Code and Peer-to-Peer Networks R.R. Brooks Limited preview - 2004 |