Posts

Showing posts with the label MOV

Assembly language basic instruction set

Image
Assembly language is languages that must be learn in order to become a good programmer. This post is special for the people whose want to learn assembly language for IBM computer. Below is some of the example of instruction set. 1)    MOV -->Move data Move the value of 100 into the AX, thus AX will have 100 after the execution of the instruction set. 2)    JMP -->unconditional Jump It is use to transfer the programs to the Instruction Pointer (IP) that you want to execute. For example JMP 100 mean jump to the IP 100. 3)    CMP -->Compare Must use with others instruction like JE, JZ, JNE, JNZ. Use to compare two values. 4)    JE/JZ,JNE/JNZ-->Jump if equals/zero, Jump if not equals/not zero CMP instruction set must be first then only use this instruction set. Jump to the Certain IP that you set. 5)    SHL-->Shift algebraic left Shift bit to left. For example: MOV AX, 0002 SHL...