No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
3 Posted Topics
If I want to exit to Dos in a C program from a Switch statement, how do I do it? Thanks | |
How to extract the opcode and the data form the instruction? "instruction" is inst below in decimal. For some values of "??", I should be able to extract the opCode and data??? opCode = inst >>??; data = inst & ??; It is done on a x86 processor using C. … | |
Hi I am doing a project of simulating a CPU using my pc and Turbo C. I have, void execInst(int inst) { int opCode; int operand; opCode = inst >> 8; operand = inst & 0xff; switch (opCode) { // default: Handle illegal instruction here. case LDA: Cpu.a = operand; … |
The End.