Soumettre la recherche
Mettre en ligne
Intel codetable
•
0 j'aime
•
87 vues
J R7
Suivre
Intel codetable -Intel Assembler emu8086
Lire moins
Lire la suite
Formation
Signaler
Partager
Signaler
Partager
1 sur 2
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
8086 Instruction set
8086 Instruction set
karthiga selvaraju
Microprocessor 8086 instructions
Microprocessor 8086 instructions
Ravi Anand
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Bilal Amjad
OptimizingARM
OptimizingARM
Jan-Lieuwe Koopmans
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
Ashish Duggal
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
Ashita Agrawal
8086 instruction set
8086 instruction set
Alamin Hossain Miraje
Instruction set of 8086 Microprocessor
Instruction set of 8086 Microprocessor
Velalar College of Engineering and Technology
Recommandé
8086 Instruction set
8086 Instruction set
karthiga selvaraju
Microprocessor 8086 instructions
Microprocessor 8086 instructions
Ravi Anand
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 7 (Logic, Shift,...
Bilal Amjad
OptimizingARM
OptimizingARM
Jan-Lieuwe Koopmans
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
Ashish Duggal
Instruction Set of 8086 Microprocessor
Instruction Set of 8086 Microprocessor
Ashita Agrawal
8086 instruction set
8086 instruction set
Alamin Hossain Miraje
Instruction set of 8086 Microprocessor
Instruction set of 8086 Microprocessor
Velalar College of Engineering and Technology
assembly language programming organization of IBM PC chapter 9 part-2(decimal...
assembly language programming organization of IBM PC chapter 9 part-2(decimal...
Bilal Amjad
Assembly language-lab9
Assembly language-lab9
AjEcuacion
8086 instruction set with types
8086 instruction set with types
Ravinder Rautela
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Bilal Amjad
10 8086 instruction set
10 8086 instruction set
Shivam Singhal
Instruction set of 8086
Instruction set of 8086
aviban
Instruction set of 8086
Instruction set of 8086
Tirumalesh Nizampatnam
Assignment on alp
Assignment on alp
Jahurul Islam
Instruction set of 8086
Instruction set of 8086
9840596838
Binary and hex input/output (in 8086 assembuly langyage)
Binary and hex input/output (in 8086 assembuly langyage)
Bilal Amjad
EMBEDDED SYSTEMS 4&5
EMBEDDED SYSTEMS 4&5
PRADEEP
8086 alp
8086 alp
Velalar College of Engineering and Technology
Up 8086 q9
Up 8086 q9
Subhajit Sahu
instruction set of 8086
instruction set of 8086
muneer.k
Day4 順序控制的循序邏輯實現
Day4 順序控制的循序邏輯實現
Ron Liu
Assembly language (addition and subtraction)
Assembly language (addition and subtraction)
Muhammad Umar Farooq
8086 microprocessor instruction set by Er. Swapnil Kaware
8086 microprocessor instruction set by Er. Swapnil Kaware
Prof. Swapnil V. Kaware
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Hsien-Hsin Sean Lee, Ph.D.
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Hsien-Hsin Sean Lee, Ph.D.
Lec3 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- CMO...
Lec3 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- CMO...
Hsien-Hsin Sean Lee, Ph.D.
Al2ed chapter7
Al2ed chapter7
Abdullelah Al-Fahad
Assembly Complete 8086 Instruction Set
Assembly Complete 8086 Instruction Set
Darian Pruitt
Contenu connexe
Tendances
assembly language programming organization of IBM PC chapter 9 part-2(decimal...
assembly language programming organization of IBM PC chapter 9 part-2(decimal...
Bilal Amjad
Assembly language-lab9
Assembly language-lab9
AjEcuacion
8086 instruction set with types
8086 instruction set with types
Ravinder Rautela
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Bilal Amjad
10 8086 instruction set
10 8086 instruction set
Shivam Singhal
Instruction set of 8086
Instruction set of 8086
aviban
Instruction set of 8086
Instruction set of 8086
Tirumalesh Nizampatnam
Assignment on alp
Assignment on alp
Jahurul Islam
Instruction set of 8086
Instruction set of 8086
9840596838
Binary and hex input/output (in 8086 assembuly langyage)
Binary and hex input/output (in 8086 assembuly langyage)
Bilal Amjad
EMBEDDED SYSTEMS 4&5
EMBEDDED SYSTEMS 4&5
PRADEEP
8086 alp
8086 alp
Velalar College of Engineering and Technology
Up 8086 q9
Up 8086 q9
Subhajit Sahu
instruction set of 8086
instruction set of 8086
muneer.k
Day4 順序控制的循序邏輯實現
Day4 順序控制的循序邏輯實現
Ron Liu
Assembly language (addition and subtraction)
Assembly language (addition and subtraction)
Muhammad Umar Farooq
8086 microprocessor instruction set by Er. Swapnil Kaware
8086 microprocessor instruction set by Er. Swapnil Kaware
Prof. Swapnil V. Kaware
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Hsien-Hsin Sean Lee, Ph.D.
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Hsien-Hsin Sean Lee, Ph.D.
Lec3 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- CMO...
Lec3 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- CMO...
Hsien-Hsin Sean Lee, Ph.D.
Tendances
(20)
assembly language programming organization of IBM PC chapter 9 part-2(decimal...
assembly language programming organization of IBM PC chapter 9 part-2(decimal...
Assembly language-lab9
Assembly language-lab9
8086 instruction set with types
8086 instruction set with types
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 5 (The Processor...
10 8086 instruction set
10 8086 instruction set
Instruction set of 8086
Instruction set of 8086
Instruction set of 8086
Instruction set of 8086
Assignment on alp
Assignment on alp
Instruction set of 8086
Instruction set of 8086
Binary and hex input/output (in 8086 assembuly langyage)
Binary and hex input/output (in 8086 assembuly langyage)
EMBEDDED SYSTEMS 4&5
EMBEDDED SYSTEMS 4&5
8086 alp
8086 alp
Up 8086 q9
Up 8086 q9
instruction set of 8086
instruction set of 8086
Day4 順序控制的循序邏輯實現
Day4 順序控制的循序邏輯實現
Assembly language (addition and subtraction)
Assembly language (addition and subtraction)
8086 microprocessor instruction set by Er. Swapnil Kaware
8086 microprocessor instruction set by Er. Swapnil Kaware
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Lec9 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Com...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec15 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- Re...
Lec3 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- CMO...
Lec3 Intro to Computer Engineering by Hsien-Hsin Sean Lee Georgia Tech -- CMO...
Similaire à Intel codetable
Al2ed chapter7
Al2ed chapter7
Abdullelah Al-Fahad
Assembly Complete 8086 Instruction Set
Assembly Complete 8086 Instruction Set
Darian Pruitt
8086 instruction set
8086 instruction set
mengistu ketema
8086 Microprocessor Instruction set
8086 Microprocessor Instruction set
Vijay Kumar
8086_inst. set.pdf
8086_inst. set.pdf
RajeshSingamaneni1
8086-instruction-set-ppt
8086-instruction-set-ppt
jemimajerome
Lab lect03 arith_control
Lab lect03 arith_control
MPDS
Instruction 8.pptx
Instruction 8.pptx
HebaEng
Chap 3_2.ppt
Chap 3_2.ppt
inian2
[ASM]Lab7
[ASM]Lab7
Nora Youssef
X86 operation types
X86 operation types
Rowena Cornejo
1344 Alp Of 8086
1344 Alp Of 8086
techbed
[ASM]Lab4
[ASM]Lab4
Nora Youssef
Assembly Language Programming By Ytha Yu, Charles Marut Chap 6 (Flow Control ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 6 (Flow Control ...
Bilal Amjad
Low-level Shader Optimization for Next-Gen and DX11 by Emil Persson
Low-level Shader Optimization for Next-Gen and DX11 by Emil Persson
AMD Developer Central
Lecture5
Lecture5
misgina Mengesha
Lecture5(1)
Lecture5(1)
misgina Mengesha
Instruction 4.pptx
Instruction 4.pptx
HebaEng
Assembly Language Instructions & Programming.pptx
Assembly Language Instructions & Programming.pptx
VineetKukreti1
instruction-set-of-8086-mr-binu-joy3.ppt
instruction-set-of-8086-mr-binu-joy3.ppt
ssuser2b759d
Similaire à Intel codetable
(20)
Al2ed chapter7
Al2ed chapter7
Assembly Complete 8086 Instruction Set
Assembly Complete 8086 Instruction Set
8086 instruction set
8086 instruction set
8086 Microprocessor Instruction set
8086 Microprocessor Instruction set
8086_inst. set.pdf
8086_inst. set.pdf
8086-instruction-set-ppt
8086-instruction-set-ppt
Lab lect03 arith_control
Lab lect03 arith_control
Instruction 8.pptx
Instruction 8.pptx
Chap 3_2.ppt
Chap 3_2.ppt
[ASM]Lab7
[ASM]Lab7
X86 operation types
X86 operation types
1344 Alp Of 8086
1344 Alp Of 8086
[ASM]Lab4
[ASM]Lab4
Assembly Language Programming By Ytha Yu, Charles Marut Chap 6 (Flow Control ...
Assembly Language Programming By Ytha Yu, Charles Marut Chap 6 (Flow Control ...
Low-level Shader Optimization for Next-Gen and DX11 by Emil Persson
Low-level Shader Optimization for Next-Gen and DX11 by Emil Persson
Lecture5
Lecture5
Lecture5(1)
Lecture5(1)
Instruction 4.pptx
Instruction 4.pptx
Assembly Language Instructions & Programming.pptx
Assembly Language Instructions & Programming.pptx
instruction-set-of-8086-mr-binu-joy3.ppt
instruction-set-of-8086-mr-binu-joy3.ppt
Plus de J R7
Codigos rapidos 3.0 inf-153- jose rivera
Codigos rapidos 3.0 inf-153- jose rivera
J R7
Soluciones examen y ejercicios 1.0 numerico jose rivera
Soluciones examen y ejercicios 1.0 numerico jose rivera
J R7
3 alabs Software solution
3 alabs Software solution
J R7
Detector de mentiras con arduino presentacion
Detector de mentiras con arduino presentacion
J R7
Lógica difusa y conceptos
Lógica difusa y conceptos
J R7
Ejercicio circuito combinacional c.c.
Ejercicio circuito combinacional c.c.
J R7
Plus de J R7
(6)
Codigos rapidos 3.0 inf-153- jose rivera
Codigos rapidos 3.0 inf-153- jose rivera
Soluciones examen y ejercicios 1.0 numerico jose rivera
Soluciones examen y ejercicios 1.0 numerico jose rivera
3 alabs Software solution
3 alabs Software solution
Detector de mentiras con arduino presentacion
Detector de mentiras con arduino presentacion
Lógica difusa y conceptos
Lógica difusa y conceptos
Ejercicio circuito combinacional c.c.
Ejercicio circuito combinacional c.c.
Dernier
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
Association for Project Management
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
VishalSingh1417
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
Jisc
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
Nguyen Thanh Tu Collection
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
christianmathematics
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
Celine George
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
neillewis46
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
Jisc
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
camerronhm
Single or Multiple melodic lines structure
Single or Multiple melodic lines structure
dhanjurrannsibayan2
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
VishalSingh1417
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
Poh-Sun Goh
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
VishalSingh1417
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
pradhanghanshyam7136
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
Dr. Sarita Anand
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
Nirmal Dwivedi
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
MaritesTamaniVerdade
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
Elizabeth Walsh
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
AreebaZafar22
Dernier
(20)
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
Accessible Digital Futures project (20/03/2024)
Accessible Digital Futures project (20/03/2024)
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
TỔNG ÔN TẬP THI VÀO LỚP 10 MÔN TIẾNG ANH NĂM HỌC 2023 - 2024 CÓ ĐÁP ÁN (NGỮ Â...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
Single or Multiple melodic lines structure
Single or Multiple melodic lines structure
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
Micro-Scholarship, What it is, How can it help me.pdf
Micro-Scholarship, What it is, How can it help me.pdf
Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
Intel codetable
1.
Intel Assembler 80186
and higher CodeTable 1/2 © 1996-2003 by Roger Jegerlehner, Switzerland V 2.3 English. Also available in Spanish TRANSFER Flags Name Comment Code Operation O D I T S Z A P C MOV Move (copy) MOV Dest,Source Dest:=Source XCHG Exchange XCHG Op1,Op2 Op1:=Op2 , Op2:=Op1 STC Set Carry STC CF:=1 1 CLC Clear Carry CLC CF:=0 0 CMC Complement Carry CMC CF:= ¬ CF ± STD Set Direction STD DF:=1 (string op's downwards) 1 CLD Clear Direction CLD DF:=0 (string op's upwards) 0 STI Set Interrupt STI IF:=1 1 CLI Clear Interrupt CLI IF:=0 0 PUSH Push onto stack PUSH Source DEC SP, [SP]:=Source PUSHF Push flags PUSHF O, D, I, T, S, Z, A, P, C 286+: also NT, IOPL PUSHA Push all general registers PUSHA AX, CX, DX, BX, SP, BP, SI, DI POP Pop from stack POP Dest Dest:=[SP], INC SP POPF Pop flags POPF O, D, I, T, S, Z, A, P, C 286+: also NT, IOPL ± ± ± ± ± ± ± ± ± POPA Pop all general registers POPA DI, SI, BP, SP, BX, DX, CX, AX CBW Convert byte to word CBW AX:=AL (signed) CWD Convert word to double CWD DX:AX:=AX (signed) ± ± ± ± ± ± CWDE Conv word extended double CWDE 386 EAX:=AX (signed) IN i Input IN Dest, Port AL/AX/EAX := byte/word/double of specified port OUT i Output OUT Port, Source Byte/word/double of specified port := AL/AX/EAX i for more information see instruction specifications Flags: ±=affected by this instruction ?=undefined after this instruction ARITHMETIC Flags Name Comment Code Operation O D I T S Z A P C ADD Add ADD Dest,Source Dest:=Dest+Source ± ± ± ± ± ± ADC Add with Carry ADC Dest,Source Dest:=Dest+Source+CF ± ± ± ± ± ± SUB Subtract SUB Dest,Source Dest:=Dest-Source ± ± ± ± ± ± SBB Subtract with borrow SBB Dest,Source Dest:=Dest-(Source+CF) ± ± ± ± ± ± DIV Divide (unsigned) DIV Op Op=byte: AL:=AX / Op AH:=Rest ? ? ? ? ? ? DIV Divide (unsigned) DIV Op Op=word: AX:=DX:AX / Op DX:=Rest ? ? ? ? ? ? DIV 386 Divide (unsigned) DIV Op Op=doublew.: EAX:=EDX:EAX / Op EDX:=Rest ? ? ? ? ? ? IDIV Signed Integer Divide IDIV Op Op=byte: AL:=AX / Op AH:=Rest ? ? ? ? ? ? IDIV Signed Integer Divide IDIV Op Op=word: AX:=DX:AX / Op DX:=Rest ? ? ? ? ? ? IDIV 386 Signed Integer Divide IDIV Op Op=doublew.: EAX:=EDX:EAX / Op EDX:=Rest ? ? ? ? ? ? MUL Multiply (unsigned) MUL Op Op=byte: AX:=AL*Op if AH=0 ♦ ± ? ? ? ? ± MUL Multiply (unsigned) MUL Op Op=word: DX:AX:=AX*Op if DX=0 ♦ ± ? ? ? ? ± MUL 386 Multiply (unsigned) MUL Op Op=double: EDX:EAX:=EAX*Op if EDX=0 ♦ ± ? ? ? ? ± IMUL i Signed Integer Multiply IMUL Op Op=byte: AX:=AL*Op if AL sufficient ♦ ± ? ? ? ? ± IMUL Signed Integer Multiply IMUL Op Op=word: DX:AX:=AX*Op if AX sufficient ♦ ± ? ? ? ? ± IMUL 386 Signed Integer Multiply IMUL Op Op=double: EDX:EAX:=EAX*Op if EAX sufficient ♦ ± ? ? ? ? ± INC Increment INC Op Op:=Op+1 (Carry not affected !) ± ± ± ± ± DEC Decrement DEC Op Op:=Op-1 (Carry not affected !) ± ± ± ± ± CMP Compare CMP Op1,Op2 Op1-Op2 ± ± ± ± ± ± SAL Shift arithmetic left (≡ SHL) SAL Op,Quantity i ± ± ? ± ± SAR Shift arithmetic right SAR Op,Quantity i ± ± ? ± ± RCL Rotate left through Carry RCL Op,Quantity i ± RCR Rotate right through Carry RCR Op,Quantity i ± ROL Rotate left ROL Op,Quantity i ± ROR Rotate right ROR Op,Quantity i ± i for more information see instruction specifications ♦ then CF:=0, OF:=0 else CF:=1, OF:=1 LOGIC Flags Name Comment Code Operation O D I T S Z A P C NEG Negate (two-complement) NEG Op Op:=0-Op if Op=0 then CF:=0 else CF:=1 ± ± ± ± ± ± NOT Invert each bit NOT Op Op:=¬ Op (invert each bit) AND Logical and AND Dest,Source Dest:=Dest∧Source 0 ± ± ? ± 0 OR Logical or OR Dest,Source Dest:=Dest∨Source 0 ± ± ? ± 0 XOR Logical exclusive or XOR Dest,Source Dest:=Dest (exor) Source 0 ± ± ? ± 0 SHL Shift logical left (≡ SAL) SHL Op,Quantity i ± ± ? ± ± SHR Shift logical right SHR Op,Quantity i ± ± ? ± ± Download latest version free of charge from www.jegerlehner.ch/intel This page may be freely distributed without cost provided it is not changed. All rights reserved
2.
Intel Assembler 80186
and higher CodeTable 2/2 © 1996-2003 by Roger Jegerlehner, Switzerland V 2.3 English. Also available in Spanish MISC Flags Name Comment Code Operation O D I T S Z A P C NOP No operation NOP No operation LEA Load effective address LEA Dest,Source Dest := address of Source INT Interrupt INT Nr interrupts current program, runs spec. int-program 0 0 JUMPS (flags remain unchanged) Name Comment Code Operation Name Comment Code Operation CALL Call subroutine CALL Proc RET Return from subroutine RET JMP Jump JMP Dest JE Jump if Equal JE Dest (≡ JZ) JNE Jump if not Equal JNE Dest (≡ JNZ) JZ Jump if Zero JZ Dest (≡ JE) JNZ Jump if not Zero JNZ Dest (≡ JNE) JCXZ Jump if CX Zero JCXZ Dest JECXZ Jump if ECX Zero JECXZ Dest 386 JP Jump if Parity (Parity Even) JP Dest (≡ JPE) JNP Jump if no Parity (Parity Odd) JNP Dest (≡ JPO) JPE Jump if Parity Even JPE Dest (≡ JP) JPO Jump if Parity Odd JPO Dest (≡ JNP) JUMPS Unsigned (Cardinal) JUMPS Signed (Integer) JA Jump if Above JA Dest (≡ JNBE) JG Jump if Greater JG Dest (≡ JNLE) JAE Jump if Above or Equal JAE Dest (≡ JNB ≡ JNC) JGE Jump if Greater or Equal JGE Dest (≡ JNL) JB Jump if Below JB Dest (≡ JNAE ≡ JC) JL Jump if Less JL Dest (≡ JNGE) JBE Jump if Below or Equal JBE Dest (≡ JNA) JLE Jump if Less or Equal JLE Dest (≡ JNG) JNA Jump if not Above JNA Dest (≡ JBE) JNG Jump if not Greater JNG Dest (≡ JLE) JNAE Jump if not Above or Equal JNAE Dest (≡ JB ≡ JC) JNGE Jump if not Greater or Equal JNGE Dest (≡ JL) JNB Jump if not Below JNB Dest (≡ JAE ≡ JNC) JNL Jump if not Less JNL Dest (≡ JGE) JNBE Jump if not Below or Equal JNBE Dest (≡ JA) JNLE Jump if not Less or Equal JNLE Dest (≡ JG) JC Jump if Carry JC Dest JO Jump if Overflow JO Dest JNC Jump if no Carry JNC Dest JNO Jump if no Overflow JNO Dest JS Jump if Sign (= negative) JS Dest General Registers: JNS Jump if no Sign (= positive) JNS Dest EAX 386 Example: AX .DOSSEG ; Demo program AH AL .MODEL SMALL Accumulator .STACK 1024 31 24 23 16 15 8 7 0 Two EQU 2 ; Const .DATA EDX 386 VarB DB ? ; define Byte, any value DX VarW DW 1010b ; define Word, binary DH DL VarW2 DW 257 ; define Word, decimal Data mul, div, IO VarD DD 0AFFFFh ; define Doubleword, hex 31 24 23 16 15 8 7 0 S DB "Hello !",0 ; define String .CODE ECX 386 main: MOV AX,DGROUP ; resolved by linker CX MOV DS,AX ; init datasegment reg CH CL MOV [VarB],42 ; init VarB Count loop, shift MOV [VarD],-7 ; set VarD 31 24 23 16 15 8 7 0 MOV BX,Offset[S] ; addr of "H" of "Hello !" MOV AX,[VarW] ; get value into accumulator EBX 386 ADD AX,[VarW2] ; add VarW2 to AX BX MOV [VarW2],AX ; store AX in VarW2 BH BL MOV AX,4C00h ; back to system BaseX data ptr INT 21h 31 24 23 16 15 8 7 0 END main Status Flags (result of operations):Flags: O---- D I T S - A - P - C Control Flags (how instructions are carried out): D: Direction 1 = string op's process down from high to low address I: Interrupt whether interrupts can occur. 1= enabled T: Trap single step for debugging C: Carry result of unsigned op. is too large or below zero. 1 = carry/borrow O: Overflow result of signed op. is too large or small. 1 = overflow/underflow S: Sign sign of result. Reasonable for Integer only. 1 = neg. / 0 = pos. Z: Zero result of operation is zero. 1 = zero A: Aux. carry similar to Carry but restricted to the low nibble only P: Parity 1 = result has even number of set bits Download latest version free of charge from www.jegerlehner.ch/intel This page may be freely distributed without cost provided it is not changed. All rights reserved
Télécharger maintenant