TD 4: Programmation en assembleur 8086 - jouili Microprocesseur 8086 - TD 4. TD 4: Programmation en assembleur 8086. Exercices sup c8_c11.pdf. AFFICHER LE MOT LE PLUS LONG DE LA CHAINE. Kindle, ppt, word, rar, and pdf. State study guide, winchester model 1400 owners manual, volvo s60 rear fuse box, 8086 8088 apx 186 188 286 80386 programmation en langage assembleur, quaestiones alberti de modis. Assessment guide florida examview, training in neurorehabilitation medical training therapy. The 8086 microprocessor supports 8 types of instructions − • Data Transfer Instructions • Arithmetic Instructions • Bit Manipulation Instructions • String Instructions • Program Execution Transfer Instructions (Branch & Loop Instructions) • Processor Control Instructions • Iteration Control Instructions • Interrupt Instructions Let us now discuss these instruction sets in detail. Data Transfer Instructions These instructions are used to transfer the data from the source operand to the destination operand. Following are the list of instructions under this group − Instruction to transfer a word • MOV − Used to copy the byte or word from the provided source to the provided destination. • PPUSH − Used to put a word at the top of the stack. • POP − Used to get a word from the top of the stack to the provided location. • PUSHA − Used to put all the registers into the stack. • POPA − Used to get words from the stack to all registers. • XCHG − Used to exchange the data from two locations. • XLAT − Used to translate a byte in AL using a table in the memory. Instructions for input and output port transfer • IN − Used to read a byte or word from the provided port to the accumulator. • OUT − Used to send out a byte or word from the accumulator to the provided port. Instructions to transfer the address • LEA − Used to load the address of operand into the provided register. • LDS − Used to load DS register and other provided register from the memory • LES − Used to load ES register and other provided register from the memory. Instructions to transfer flag registers • LAHF − Used to load AH with the low byte of the flag register. • SAHF − Used to store AH register to low byte of the flag register. • PUSHF − Used to copy the flag register at the top of the stack. • POPF − Used to copy a word at the top of the stack to the flag register. Arithmetic Instructions These instructions are used to perform arithmetic operations like addition, subtraction, multiplication, division, etc. Following is the list of instructions under this group − Instructions to perform addition • ADD − Used to add the provided byte to byte/word to word. • ADC − Used to add with carry. • INC − Used to increment the provided byte/word by 1. • AAA − Used to adjust ASCII after addition. • DAA − Used to adjust the decimal after the addition/subtraction operation. Instructions to perform subtraction • SUB − Used to subtract the byte from byte/word from word. • SBB − Used to perform subtraction with borrow. Mariah carey hero midi mac os x. • DEC − Used to decrement the provided byte/word by 1. • NPG − Used to negate each bit of the provided byte/word and add 1/2’s complement. • CMP − Used to compare 2 provided byte/word. • AAS − Used to adjust ASCII codes after subtraction. • DAS − Used to adjust decimal after subtraction. Instruction to perform multiplication • MUL − Used to multiply unsigned byte by byte/word by word. • IMUL − Used to multiply signed byte by byte/word by word. • AAM − Used to adjust ASCII codes after multiplication. Instructions to perform division • DIV − Used to divide the unsigned word by byte or unsigned double word by word. • IDIV − Used to divide the signed word by byte or signed double word by word. • AAD − Used to adjust ASCII codes after division. • CBW − Used to fill the upper byte of the word with the copies of sign bit of the lower byte. • CWD − Used to fill the upper word of the double word with the sign bit of the lower word. Bit Manipulation Instructions These instructions are used to perform operations where data bits are involved, i.e. Operations like logical, shift, etc. Following is the list of instructions under this group − Instructions to perform logical operation • NOT − Used to invert each bit of a byte or word. • AND − Used for adding each bit in a byte/word with the corresponding bit in another byte/word. • OR − Used to multiply each bit in a byte/word with the corresponding bit in another byte/word.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |