Microcontroller Instruction Set. For interrupt response time information, refer to the hardware description chapter. Note: 1. Operations on SFR byte address. Instruction Set. 1. Operations on SFR byte address or bit addresses (that is, the PSW or bits in the PSW) also affect flag settings. The Instruction Set. Instruction Set Summary. Rn. Register R7-R0 of the currently selected Register Bank. Data. 8-bit internal data location’s address. This could be an internal.
|Country:||Bosnia & Herzegovina|
|Published (Last):||2 April 2013|
|PDF File Size:||8.14 Mb|
|ePub File Size:||19.90 Mb|
|Price:||Free* [*Free Regsitration Required]|
8051 Instruction Set
Interface GPS with Arduino. OR each bit of acc with same bit of content of Rx, stores result in acc.
Jump to label if given bit is set to 1. Choosing Motor For Robots. Add the data in Rx with acc and stores result in acc. Rotate accumulator left through carry flag. Add the immediate num with acc and carry, stores result in acc. Copy the instrction of acc to the external add in DPTR. Choosing Battery for Robots. Subtract 1 from the content of address.
NPTEL :: Electronics & Communication Engineering – Microcontrollers and Applications
The complete Instruction Set or all instructions are broadly classify in to four groups data moving, logical, arithmetic and branching. Jump if bit is set and clear bit. Take a jump to absolute short range address sadd. Copy the data that is at address in Rp to acc.
Take a jump to relative address radd. Clear each bit of acc. Add the data in Rx with acc and carry, stores result in acc.
The address is formed by adding acc and PC and its content is copied to acc. Jump if carry is not set.
8051/8951 microcontroller Instruction Set
AND carry with given bit b, stores result in carry. Logical Exclusive OR for byte variable.
Add 1 to register Rr. Jump if carry is set. Cjne Rx, num, label. Logical OR for byte variable. Jump if bit is not set. Exchange accumulator with bit variable. Decrement the content of address and jump to the label if it is not zero. OR each bit of acc with same bit of content of add given by Rp, stores result in acc. Multiply acc and register B. Add the data at the address in Rp with acc and carry, stores result in acc.
Complete information regarding each instruction like operational explanation, addressing mode, no. Copy carry to bit b.
AND carry with complement of given bit b, stores result in carry. Load data pointer with 16 bit constant. XOR each bit of acc with same bit of content of add given by Rp, stores result instrucion acc. Add 1 to the content of add. Compare and jump if not equal.
Jump if accumulator is zero. Compare the content of accumulator with the content of given address and if not equal jump to label.
Copy the data from Rx to direct address add. Return from sub routine.