SlideShare una empresa de Scribd logo
1 de 9
jaime.velarde@epn.edu.ec 1 SISTEMAS MICROPROCESADOS INSTRUCCIONESARITMÉTICAS Y LÓGICAS Elaborado por: Ing. Jaime E. Velarde
jaime.velarde@epn.edu.ec 2 LAS INSTRUCCIONES ARITMÉTICAS Y LÓGICAS REALIZAN LAS OPERACIONES INDICADAS CON LOS CONTENIDOS DE LOS REGISTROS INVOLUCRADOS. ESTE GRUPO DE INSTRUCCIONES SE CARACTERÍSTICA POR MODIFICAR LAS BANDERAS, DE ACUERDO AL RESULTADO
jaime.velarde@epn.edu.ec 3 SUMAS SUMA SIN LLEVO ADD		Rd,Rr	Rd ← Rd + Rr SUMA CON LLEVO ADC		Rd,Rr	Rd ← Rd + Rr + C SUMA INMEDIATA DE UNA PALABRA ADIW	Rdl,K 		Rd+1:Rd ← Rd+1:Rd + K d {24,26,28,30}		0 ≤ K ≤ 63
jaime.velarde@epn.edu.ec 4 RESTAS RESTA SIN DEBO SUB		Rd,Rr	Rd ← Rd – Rr  RESTA SIN DEBO UNA CONSTANTE SUBI		Rd,K		Rd ← Rd – K    (16 ≤ d ≤ 31) RESTA CON DEBO SBC		Rd,Rr	Rd ← Rd – Rr – C   RESTA CON DEBO UNA CONSTANTE SBCI		Rd,K		Rd ← Rd – K – C () RESTA INMEDIATA DE UNA PALABRA SBIW	Rdl,K 		Rd+1:Rd ← Rd+1:Rd – K (ver anterior)
jaime.velarde@epn.edu.ec 5 OPERACIONES LÓGICAS OPERACIÓN AND AND		Rd,Rr		Rd ← Rd ∙ Rr OPERACIÓN AND INMEDIATA ANDI		Rd,K		Rd ← Rd ∙ K () OPERACIÓN OR OR		Rd,Rr		Rd ← Rd v Rr OPERACIÓN OR INMEDIATA ORI		Rd,K		Rd ← Rd v K () OPERACIÓN OR EXCLUSIVA EOR		Rd,Rr		Rd ← Rd  Rr
jaime.velarde@epn.edu.ec 6 OTRAS OPERACIONES LÓGICAS COMPLEMENTO DE 1 COM		Rd		Rd ← $FF - Rd COMPLEMENTO DE 2 NEG		Rd		Rd ← $00 - Rd BITS DEL REGISTRO PONER A UNO SBR		Rd,K		Rd ← Rd v K () BITS DEL REGISTRO PONER A CERO CBR		Rd,K		Rd ← Rd ∙ ($FF - K) () PRUEBA DE LOS BITS TEST	Rd		Rd ← Rd ∙ Rd
jaime.velarde@epn.edu.ec 7 OTRAS OPERACIONES CON LOS REGISTROS INCREMENTOS INC		Rd		Rd ← Rd + 1 DISMINUCIONES DEC		Rd		Rd ← Rd - 1 BORRAR EL REGISTRO CLR		Rd		Rd ← Rd  Rd PONER UNOS EN EL REGISTRO SER		Rd		Rd ← $FF ()
jaime.velarde@epn.edu.ec 8 MULTIPLICACIONES MULTIPLICACIÓN DE NÚMEROS SIN SIGNO MUL	 Rd,Rr	R1:R0 ← Rd x Rr MULTIPLICACIÓN DE NÚMEROS CON SIGNO MULS	 Rd,Rr	R1:R0 ← Rd x Rr MULTIPLICACIÓN DE UN NÚMERO CON SIGNO Y OTRO SIN SIGNO MULSU Rd,Rr	R1:R0 ← Rd x Rr
jaime.velarde@epn.edu.ec 9 MULTIPLICACIONES DE FRACCIONES MULTIPLICACIÓN DE NÚMEROS FRACCIONARIOS SIN SIGNO FMUL	 Rd,Rr	R1:R0 ← Rd x Rr «1 MULTIPLICACIÓN DE NÚMEROS FRACCIONARIOS CON SIGNO FMULS	 Rd,Rr	R1:R0 ← Rd x Rr «1 MULTIPLICACIÓN DE UN NÚMERO FRACCIONARIO CON SIGNO Y OTRO SIN SIGNO FMULSU Rd,Rr	R1:R0 ← Rd x Rr «1

Más contenido relacionado

La actualidad más candente

Dispositvos de entrada y salida
Dispositvos de entrada y salidaDispositvos de entrada y salida
Dispositvos de entrada y salidaitzayana bacilio
 
Notación infija postfija
Notación infija postfijaNotación infija postfija
Notación infija postfijaOmarzingm
 
Automata Finito No Determinista
Automata Finito No DeterministaAutomata Finito No Determinista
Automata Finito No DeterministaJean Bernard
 
Estados de un proceso
Estados de un procesoEstados de un proceso
Estados de un procesoi92almaa
 
Automatas Finitos Deterministicos y No Deterministicos
Automatas Finitos Deterministicos y No DeterministicosAutomatas Finitos Deterministicos y No Deterministicos
Automatas Finitos Deterministicos y No DeterministicosRosviannis Barreiro
 
Apuntes generación de codigo intermedio
Apuntes generación de codigo intermedioApuntes generación de codigo intermedio
Apuntes generación de codigo intermedioHumano Terricola
 
Ads sistema-panaderia-ADS
Ads sistema-panaderia-ADSAds sistema-panaderia-ADS
Ads sistema-panaderia-ADSRosarioRuiz35
 
Caracteristicas de un vtp
Caracteristicas de un vtpCaracteristicas de un vtp
Caracteristicas de un vtpErika Vazquez
 
Modos de direccionamiento.
Modos de direccionamiento.Modos de direccionamiento.
Modos de direccionamiento.deaisai
 
Tema 4 Sistemas Basados En Reglas Difusas
Tema 4 Sistemas Basados En Reglas DifusasTema 4 Sistemas Basados En Reglas Difusas
Tema 4 Sistemas Basados En Reglas DifusasESCOM
 
12962797 ccna-3-v-40-exploration-examen-final-modulo-3-50-preguntas (1)
12962797 ccna-3-v-40-exploration-examen-final-modulo-3-50-preguntas (1)12962797 ccna-3-v-40-exploration-examen-final-modulo-3-50-preguntas (1)
12962797 ccna-3-v-40-exploration-examen-final-modulo-3-50-preguntas (1)Connections Systems
 
3 Variables LingüíSticas, Variables Difusas Y Reglas Difusas
3 Variables LingüíSticas, Variables Difusas Y Reglas Difusas3 Variables LingüíSticas, Variables Difusas Y Reglas Difusas
3 Variables LingüíSticas, Variables Difusas Y Reglas DifusasESCOM
 
Analizar mediante-ejemplos-de-la-vida-real-el-concepto-de-procesos
Analizar mediante-ejemplos-de-la-vida-real-el-concepto-de-procesosAnalizar mediante-ejemplos-de-la-vida-real-el-concepto-de-procesos
Analizar mediante-ejemplos-de-la-vida-real-el-concepto-de-procesosJose Armando Velazquez Mijangos
 
Búsqueda Primero el Mejor
Búsqueda Primero el MejorBúsqueda Primero el Mejor
Búsqueda Primero el MejorTutor4uDev
 

La actualidad más candente (20)

Dispositvos de entrada y salida
Dispositvos de entrada y salidaDispositvos de entrada y salida
Dispositvos de entrada y salida
 
Notación infija postfija
Notación infija postfijaNotación infija postfija
Notación infija postfija
 
Automata Finito No Determinista
Automata Finito No DeterministaAutomata Finito No Determinista
Automata Finito No Determinista
 
Estados de un proceso
Estados de un procesoEstados de un proceso
Estados de un proceso
 
Logica difusa
Logica difusaLogica difusa
Logica difusa
 
Automatas Finitos Deterministicos y No Deterministicos
Automatas Finitos Deterministicos y No DeterministicosAutomatas Finitos Deterministicos y No Deterministicos
Automatas Finitos Deterministicos y No Deterministicos
 
Modos direccionamiento
Modos direccionamientoModos direccionamiento
Modos direccionamiento
 
Apuntes generación de codigo intermedio
Apuntes generación de codigo intermedioApuntes generación de codigo intermedio
Apuntes generación de codigo intermedio
 
Ads sistema-panaderia-ADS
Ads sistema-panaderia-ADSAds sistema-panaderia-ADS
Ads sistema-panaderia-ADS
 
Caracteristicas de un vtp
Caracteristicas de un vtpCaracteristicas de un vtp
Caracteristicas de un vtp
 
Modos de direccionamiento.
Modos de direccionamiento.Modos de direccionamiento.
Modos de direccionamiento.
 
Tema 4 Sistemas Basados En Reglas Difusas
Tema 4 Sistemas Basados En Reglas DifusasTema 4 Sistemas Basados En Reglas Difusas
Tema 4 Sistemas Basados En Reglas Difusas
 
12962797 ccna-3-v-40-exploration-examen-final-modulo-3-50-preguntas (1)
12962797 ccna-3-v-40-exploration-examen-final-modulo-3-50-preguntas (1)12962797 ccna-3-v-40-exploration-examen-final-modulo-3-50-preguntas (1)
12962797 ccna-3-v-40-exploration-examen-final-modulo-3-50-preguntas (1)
 
Código intermedio
Código intermedioCódigo intermedio
Código intermedio
 
Introducción al c#
Introducción al c#Introducción al c#
Introducción al c#
 
3 Variables LingüíSticas, Variables Difusas Y Reglas Difusas
3 Variables LingüíSticas, Variables Difusas Y Reglas Difusas3 Variables LingüíSticas, Variables Difusas Y Reglas Difusas
3 Variables LingüíSticas, Variables Difusas Y Reglas Difusas
 
Analizar mediante-ejemplos-de-la-vida-real-el-concepto-de-procesos
Analizar mediante-ejemplos-de-la-vida-real-el-concepto-de-procesosAnalizar mediante-ejemplos-de-la-vida-real-el-concepto-de-procesos
Analizar mediante-ejemplos-de-la-vida-real-el-concepto-de-procesos
 
Búsqueda Primero el Mejor
Búsqueda Primero el MejorBúsqueda Primero el Mejor
Búsqueda Primero el Mejor
 
Ensamblador
EnsambladorEnsamblador
Ensamblador
 
Guia normalización
Guia normalizaciónGuia normalización
Guia normalización
 

Destacado (20)

Instrucciones lenguaje assembler
Instrucciones lenguaje assemblerInstrucciones lenguaje assembler
Instrucciones lenguaje assembler
 
Compiladores teoria e implementacion
Compiladores teoria e implementacionCompiladores teoria e implementacion
Compiladores teoria e implementacion
 
Ejercicios 04 cálculo continuación
Ejercicios 04 cálculo continuaciónEjercicios 04 cálculo continuación
Ejercicios 04 cálculo continuación
 
Ejercicios 07 interrupciones
Ejercicios 07 interrupcionesEjercicios 07 interrupciones
Ejercicios 07 interrupciones
 
15. puertas logicas
15. puertas logicas15. puertas logicas
15. puertas logicas
 
06 Elaboración de Programas
06 Elaboración de Programas06 Elaboración de Programas
06 Elaboración de Programas
 
12 Pórticos de los Atmega
12 Pórticos de los Atmega12 Pórticos de los Atmega
12 Pórticos de los Atmega
 
Evaluation 1
Evaluation 1 Evaluation 1
Evaluation 1
 
20 Portico Serial
20 Portico Serial20 Portico Serial
20 Portico Serial
 
01 Diseño en Sistemas Digitales
01 Diseño en Sistemas Digitales01 Diseño en Sistemas Digitales
01 Diseño en Sistemas Digitales
 
10 Instrucciones de Transferencia
10  Instrucciones  de Transferencia10  Instrucciones  de Transferencia
10 Instrucciones de Transferencia
 
Bus datos
Bus datosBus datos
Bus datos
 
Lenguaje ensamblador
Lenguaje ensambladorLenguaje ensamblador
Lenguaje ensamblador
 
04 Estructura de Buses Compartidos en Microcomputadoras
04 Estructura de Buses Compartidos en Microcomputadoras04 Estructura de Buses Compartidos en Microcomputadoras
04 Estructura de Buses Compartidos en Microcomputadoras
 
03 Arquitectura de un Microprocesador
03 Arquitectura de un Microprocesador03 Arquitectura de un Microprocesador
03 Arquitectura de un Microprocesador
 
Formatos de instrucción
Formatos de instrucciónFormatos de instrucción
Formatos de instrucción
 
Curso básico de ensamblador
Curso básico de ensambladorCurso básico de ensamblador
Curso básico de ensamblador
 
Div, idiv, Neg ensamblador
Div, idiv, Neg ensambladorDiv, idiv, Neg ensamblador
Div, idiv, Neg ensamblador
 
Ejercicio 08 CAD
Ejercicio 08 CADEjercicio 08 CAD
Ejercicio 08 CAD
 
Ejercicio 04 Calculos
Ejercicio 04 CalculosEjercicio 04 Calculos
Ejercicio 04 Calculos
 

Más de Jaime E. Velarde

Ejercicios 06 subrutinas con LCD continuación
Ejercicios 06 subrutinas con LCD continuaciónEjercicios 06 subrutinas con LCD continuación
Ejercicios 06 subrutinas con LCD continuaciónJaime E. Velarde
 
Display de cristal líquido grágico GLCD
Display de cristal líquido grágico GLCDDisplay de cristal líquido grágico GLCD
Display de cristal líquido grágico GLCDJaime E. Velarde
 
Ejercicios 06 subrutinas con LCD
Ejercicios 06 subrutinas con LCDEjercicios 06 subrutinas con LCD
Ejercicios 06 subrutinas con LCDJaime E. Velarde
 
Funcionamiento del Timer 0
Funcionamiento del Timer 0Funcionamiento del Timer 0
Funcionamiento del Timer 0Jaime E. Velarde
 
Ejercicio 07 adicionales de Interrupciones
Ejercicio 07 adicionales de InterrupcionesEjercicio 07 adicionales de Interrupciones
Ejercicio 07 adicionales de InterrupcionesJaime E. Velarde
 
16 Instrucciones de Subrutinas
16 Instrucciones de Subrutinas16 Instrucciones de Subrutinas
16 Instrucciones de SubrutinasJaime E. Velarde
 
13 Instrucciones de manejo de bits
13  Instrucciones de manejo de bits13  Instrucciones de manejo de bits
13 Instrucciones de manejo de bitsJaime E. Velarde
 
11 Instrucciones de Salto de los Atmega
11  Instrucciones de Salto  de los Atmega11  Instrucciones de Salto  de los Atmega
11 Instrucciones de Salto de los AtmegaJaime E. Velarde
 

Más de Jaime E. Velarde (20)

Ejercicios 06 subrutinas con LCD continuación
Ejercicios 06 subrutinas con LCD continuaciónEjercicios 06 subrutinas con LCD continuación
Ejercicios 06 subrutinas con LCD continuación
 
Display de cristal líquido grágico GLCD
Display de cristal líquido grágico GLCDDisplay de cristal líquido grágico GLCD
Display de cristal líquido grágico GLCD
 
Ejercicios 06 subrutinas con LCD
Ejercicios 06 subrutinas con LCDEjercicios 06 subrutinas con LCD
Ejercicios 06 subrutinas con LCD
 
Ejercicio 09 Serie
Ejercicio 09 SerieEjercicio 09 Serie
Ejercicio 09 Serie
 
Funcionamiento del USART
Funcionamiento del USARTFuncionamiento del USART
Funcionamiento del USART
 
Ejercicio 07 Timers
Ejercicio 07 TimersEjercicio 07 Timers
Ejercicio 07 Timers
 
Funcionamiento del Timer 0
Funcionamiento del Timer 0Funcionamiento del Timer 0
Funcionamiento del Timer 0
 
18 Timers
18 Timers18 Timers
18 Timers
 
Funcionamiento del CAD
Funcionamiento del CADFuncionamiento del CAD
Funcionamiento del CAD
 
Ejercicio 07 adicionales de Interrupciones
Ejercicio 07 adicionales de InterrupcionesEjercicio 07 adicionales de Interrupciones
Ejercicio 07 adicionales de Interrupciones
 
19 Conversor A/D
19 Conversor A/D19 Conversor A/D
19 Conversor A/D
 
17 Interrupciones
17 Interrupciones17 Interrupciones
17 Interrupciones
 
16 Instrucciones de Subrutinas
16 Instrucciones de Subrutinas16 Instrucciones de Subrutinas
16 Instrucciones de Subrutinas
 
Ejercicio 05 Subrutinas
Ejercicio 05 SubrutinasEjercicio 05 Subrutinas
Ejercicio 05 Subrutinas
 
Ejercicio 03 Porticos
Ejercicio 03 PorticosEjercicio 03 Porticos
Ejercicio 03 Porticos
 
13 Instrucciones de manejo de bits
13  Instrucciones de manejo de bits13  Instrucciones de manejo de bits
13 Instrucciones de manejo de bits
 
14 Fusibles Programables
14 Fusibles Programables14 Fusibles Programables
14 Fusibles Programables
 
Ejercicio 02 Tablas
Ejercicio 02 TablasEjercicio 02 Tablas
Ejercicio 02 Tablas
 
11 Instrucciones de Salto de los Atmega
11  Instrucciones de Salto  de los Atmega11  Instrucciones de Salto  de los Atmega
11 Instrucciones de Salto de los Atmega
 
Ejercicio 01 Llenar
Ejercicio 01 LlenarEjercicio 01 Llenar
Ejercicio 01 Llenar
 

Último

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxVishalSingh1417
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxAmita Gupta
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibitjbellavia9
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxcallscotland1987
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...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 Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsMebane Rash
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.pptRamjanShidvankar
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxdhanalakshmis0310
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and ModificationsMJDuyan
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxAreebaZafar22
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17Celine George
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfAdmir Softic
 
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Ữ Â...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
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxRamakrishna Reddy Bijjam
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Último (20)

Unit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptxUnit-IV- Pharma. Marketing Channels.pptx
Unit-IV- Pharma. Marketing Channels.pptx
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Third Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptxThird Battle of Panipat detailed notes.pptx
Third Battle of Panipat detailed notes.pptx
 
Sociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning ExhibitSociology 101 Demonstration of Learning Exhibit
Sociology 101 Demonstration of Learning Exhibit
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Application orientated numerical on hev.ppt
Application orientated numerical on hev.pptApplication orientated numerical on hev.ppt
Application orientated numerical on hev.ppt
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Magic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptxMagic bus Group work1and 2 (Team 3).pptx
Magic bus Group work1and 2 (Team 3).pptx
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17How to Create and Manage Wizard in Odoo 17
How to Create and Manage Wizard in Odoo 17
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
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Ữ Â...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Ữ Â...
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

15 Instrucciones Aritmeticas y Logicas

  • 1. jaime.velarde@epn.edu.ec 1 SISTEMAS MICROPROCESADOS INSTRUCCIONESARITMÉTICAS Y LÓGICAS Elaborado por: Ing. Jaime E. Velarde
  • 2. jaime.velarde@epn.edu.ec 2 LAS INSTRUCCIONES ARITMÉTICAS Y LÓGICAS REALIZAN LAS OPERACIONES INDICADAS CON LOS CONTENIDOS DE LOS REGISTROS INVOLUCRADOS. ESTE GRUPO DE INSTRUCCIONES SE CARACTERÍSTICA POR MODIFICAR LAS BANDERAS, DE ACUERDO AL RESULTADO
  • 3. jaime.velarde@epn.edu.ec 3 SUMAS SUMA SIN LLEVO ADD Rd,Rr Rd ← Rd + Rr SUMA CON LLEVO ADC Rd,Rr Rd ← Rd + Rr + C SUMA INMEDIATA DE UNA PALABRA ADIW Rdl,K Rd+1:Rd ← Rd+1:Rd + K d {24,26,28,30} 0 ≤ K ≤ 63
  • 4. jaime.velarde@epn.edu.ec 4 RESTAS RESTA SIN DEBO SUB Rd,Rr Rd ← Rd – Rr RESTA SIN DEBO UNA CONSTANTE SUBI Rd,K Rd ← Rd – K (16 ≤ d ≤ 31) RESTA CON DEBO SBC Rd,Rr Rd ← Rd – Rr – C RESTA CON DEBO UNA CONSTANTE SBCI Rd,K Rd ← Rd – K – C () RESTA INMEDIATA DE UNA PALABRA SBIW Rdl,K Rd+1:Rd ← Rd+1:Rd – K (ver anterior)
  • 5. jaime.velarde@epn.edu.ec 5 OPERACIONES LÓGICAS OPERACIÓN AND AND Rd,Rr Rd ← Rd ∙ Rr OPERACIÓN AND INMEDIATA ANDI Rd,K Rd ← Rd ∙ K () OPERACIÓN OR OR Rd,Rr Rd ← Rd v Rr OPERACIÓN OR INMEDIATA ORI Rd,K Rd ← Rd v K () OPERACIÓN OR EXCLUSIVA EOR Rd,Rr Rd ← Rd  Rr
  • 6. jaime.velarde@epn.edu.ec 6 OTRAS OPERACIONES LÓGICAS COMPLEMENTO DE 1 COM Rd Rd ← $FF - Rd COMPLEMENTO DE 2 NEG Rd Rd ← $00 - Rd BITS DEL REGISTRO PONER A UNO SBR Rd,K Rd ← Rd v K () BITS DEL REGISTRO PONER A CERO CBR Rd,K Rd ← Rd ∙ ($FF - K) () PRUEBA DE LOS BITS TEST Rd Rd ← Rd ∙ Rd
  • 7. jaime.velarde@epn.edu.ec 7 OTRAS OPERACIONES CON LOS REGISTROS INCREMENTOS INC Rd Rd ← Rd + 1 DISMINUCIONES DEC Rd Rd ← Rd - 1 BORRAR EL REGISTRO CLR Rd Rd ← Rd  Rd PONER UNOS EN EL REGISTRO SER Rd Rd ← $FF ()
  • 8. jaime.velarde@epn.edu.ec 8 MULTIPLICACIONES MULTIPLICACIÓN DE NÚMEROS SIN SIGNO MUL Rd,Rr R1:R0 ← Rd x Rr MULTIPLICACIÓN DE NÚMEROS CON SIGNO MULS Rd,Rr R1:R0 ← Rd x Rr MULTIPLICACIÓN DE UN NÚMERO CON SIGNO Y OTRO SIN SIGNO MULSU Rd,Rr R1:R0 ← Rd x Rr
  • 9. jaime.velarde@epn.edu.ec 9 MULTIPLICACIONES DE FRACCIONES MULTIPLICACIÓN DE NÚMEROS FRACCIONARIOS SIN SIGNO FMUL Rd,Rr R1:R0 ← Rd x Rr «1 MULTIPLICACIÓN DE NÚMEROS FRACCIONARIOS CON SIGNO FMULS Rd,Rr R1:R0 ← Rd x Rr «1 MULTIPLICACIÓN DE UN NÚMERO FRACCIONARIO CON SIGNO Y OTRO SIN SIGNO FMULSU Rd,Rr R1:R0 ← Rd x Rr «1