國立臺北大學資工系江宥旻
Introducion
This chapter will cover following instructions
Flag-Control instructions
Compare instructions
Control Flow and the Jump instructions
Subroutines and subroutine-handling instructions
Loop and Loop-Handling instructions
YuminChiang changed 3 years agoView mode Like Bookmark
國立臺北大學資工系江宥旻
Converting assembly language instruction to machine code
Machine code instructions of the 8088 vary in the number of bytes used to encode them
Single byte instruction
Double bytes instruction and above
General instruction format
graph TB
YuminChiang changed 3 years agoView mode Like 1 Bookmark
411085056 資工二 江宥旻
Please use the EMU86 emulator to complete following problems
Please execute following instructions and find the content of following registers, AX, BX, and following flags CF, AF, PF, SF, ZF, OF after each instruction executed.
MOV AX, 0EA34H
MOV BX, 03D25H
ADD AX, BX
SUB AX, 01220H
YuminChiang changed 3 years agoView mode Like 1 Bookmark
國立臺北大學資工系江宥旻
Software:The microcomputer program
Hierarchy of Programming Language
High Level Languageint a = 0, b = 0;
a = 2;
b = 5;
a = a * a + 3 * b + 6;
printf("The Integer: %d", a);
YuminChiang changed 3 years agoView mode Like Bookmark