miércoles, 25 de septiembre de 2013

Conjunto de instrucciones programacion basica

INSTRUCCIONES DE TRANFERENCIA DE DATOS:

· MOV
· XCHG
· IN
· OUT
· XLAT
· LEA
· LDS
· LES
· LAHF
· SAHF
· PUSH FUENTE
· POP DESTINO
CONTROL DE BLUCLES (INSTRUCCIONES SIMPLES).
· INC
· DEC
· LOOP
· LOOPZ,LOOPE
· LOOPNZ,LOOPNE
· JCXZ
INSTRUCCIONES DE PRUEBAS, COMPARACION Y SALTOS.
· TEST
· CMP
· JMP
· JE, JZ
· JNE, JNZ
· JS
· JNS
· JP, JPE
· JNP, JOP
· JO
· JNO
· JB, JNAE
· JNB, JAE
· JBE, JNA
· JNBE, JA
· JL, JNGE
· JNL, JGE
· JLE,JNG
· JNLE, JG

INSTRUCCIONES DE LLAMADO Y RETORNO DE SUBRUTINAS.
· CALL
· RET

INSTRUCCIONES ARITMETICAS.
a. Grupo de adición:
· ADD
· ADC
· AAA
· DAA

b. Grupo de sustracción:
· SUB
· SBB
· AAS
· DAS

c. Grupo de multiplicación:
· MUL
· IMUL
· AAM

d. Grupo de división:
· DIV
· IDIV
· AAD

e. Conversiones:
· CBW
· CWD
· NEG

f. Tratamiento de cadenas:
· MOVC
· MOVW
· CMPC
· CMPW
· SCAC
· SCAW
· LODC
· LODW
· STOC
· STOW
· REP
· CLD
· STD

INSTRUCCIONES LOGICAS
· NOT
· AND
· OR
· XOR

INSTRUCCIONES DE DESPLAZAMIENTO, ROTACION Y ADEUDOS.
· SHL
· SHR
· SAR
· ROL
· ROR
· RCL
· RCR
· CLC
· STC
 
INSTRUCCIONES DE PILA
· PUSH
· POP
· PUSHF
· POPF

INSTRUCCIONES DE CONTROL DEL MICROPROCESADOR.
· NOP
· HLT
· WAIT
· LOCK
· ESC

INSTRUCCIONES DE INTERRUPCION
· STI
· CLI
· INT
· INTO
· IRET

LAS INSTRUCCIONES DE TRANSFERENCIA CONDICIONAL DEL CONTROL DEL PROGRAMA SE PUEDEN CLASIFICAR EN 3 GRUPOS:

1. Instrucciones usadas para comparar dos enteros sin signo:
a. JA o JNBE.
b. JAE o JNB.
c. JB o JNAE.
d. JBE o JNA.
e. JE o JZ.
f. JNE o JNZ.

2. Instrucciones usadas para comparar dos enteros con signo:
a. JG o JNLE.
b. JGE o JNL.
c. JL o JNGE.
d. JLE o JNG.

3. Instrucciones usadas según el estado de banderas:
a. JC
b. JNC
c. JNO
d. JNP o JPO
e. JNS
f. JO
g. JP o JPE
h. JS

No hay comentarios.:

Publicar un comentario