Juego De Instrucciones Del 8051
Instructions by opcode Instrucciones de código de operación
| |0x00 |
| |0x00 |
|Functi|Absolu|
|on: |te |
|Funció|Call |
|n: |Within|
| |2K |
| |Block |
| |Call |
| |Block |
| |absolu|
| |ta |
| |dentro|
| |de 2K |
|Syntax|ACALL |
|: |code |
|Sintax|addres|
|is: |s |
||Direcc|
| |ión, |
| |código|
| |ACALL |
|Instru|OpCode|Bytes |Flags |
|ctions|OpCode|Bytes |Bander|
|Instru| | |as |
|ccione| | | |
|s | | | |
|ACALL |0x11 |2 2 |None |
|page0 |0x11 | |Ningun|
|ACALL | | |o |
|page0 | | | |
|ACALL |0x31 |2 2 |None |
|page1 |0x31 ||Ningun|
|ACALL | | |o |
|page1 | | | |
|ACALL |0x51 |2 2 |None |
|page2 |0x51 | |Ningun|
|ACALL | | |o |
|Página| | | |
|2 | | | |
|ACALL |0x71 |2 2 |None |
|page3 |0x71 | |Ningun|
|ACALL | | |o |
|Página| | | |
|3 | | | |
|ACALL |0x91 |2 2|None |
|page4 |0x91 | |Ningun|
|ACALL | | |o |
|Página| | | |
|4 | | | |
|ACALL |0xB1 |2 2 |None |
|page5 |0xB1 | |Ningun|
|ACALL | | |o |
|Página| | | |
|5 | | | |
|ACALL |0xD1 |2 2 |None |
|page6 |0xD1 | |Ningun|
|ACALL | | |o |
|Página| || |
|6 | | | |
|ACALL |0xF1 |2 2 |None |
|page7 |0xF1 | |Ningun|
|ACALL | | |o |
|Página| | | |
|7 | | | |
Description: ACALL unconditionally calls a subroutine at the indicated code address . Descripción: ACALL incondicionalmente llama a una subrutina en la dirección de código indicado. ACALL pushesthe address of the instruction that follows ACALL onto the stack, least-significant-byte first, most-significant-byte second. The Program Counter is then updated so that program execution continues at the indicated address. ACALL empuja a la dirección de la instrucción que sigue ACALL en la pila, menos significativo primer byte, más significativo segundo byte. El contador de programa se actualizade manera que la ejecución del programa continúa en la dirección indicada.
The new value for the Program Counter is calculated by replacing the least-significant-byte of the Program Counter with the second byte of the ACALL instruction, and replacing bits 0-2 of the most-significant-byte of the Program Counter with 3 bits that indicate the page. El nuevo valor para el Contador de Programa secalcula mediante la sustitución de los menos importantes-byte del contador de programa con el segundo byte de la instrucción ACALL, y la sustitución de los bits 0-2 de los más importantes-byte del contador de programa con 3 bits que indican la página. Bits 3-7 of the most-significant-byte of the Program Counter remain unchaged. Bits 3-7 de la mayoría-siguen siendo importantes unchaged byte del contadorde programa.
Since only 11 bits of the Program Counter are affected by ACALL, calls may only be made to routines located within the same 2k block as the first byte that follows ACALL. Dado que sólo 11 bits del contador de programa se ven afectados por ACALL, las llamadas sólo se podrá hacer a las rutinas situadas en el mismo bloque 2k como el primer byte que sigue ACALL.
See Also : LCALL , RETVer también: LCALL, RET
[pic]
8051 Instruction Set: ADD 8051 Conjunto de instrucciones: ADD
|Operat|ADD, |
|ion: |ADDC |
|Operac|ADD, |
|ión: |ADDC |
|Functi|Add |
|on: |Accumu|
|Funció|lator,|
|n: |Add |
| |Accumu|
| |lator |
| |With |
| |Carry |
| |Añadir|
| |acumul|
| |ador, |
| |Añadir|
| |acumul|
|...
Regístrate para leer el documento completo.