Products

Service

Payment options

On account (inside Germany only), Credit card, PayPal, Bank transfer in advance (T/T), COD (Cash On Delivery)

Downloads • 8051 Microcontroller Instruction Set

All instructions of the mcs-51 microcontroller are shown on 79 pages.

8051 Microcontroller Instruction Set8051 Microcontroller Instruction Set
File size: around 18KByte

For example the instruction JB bit,rel

Function:
Jump if bit is set

Description:

If the indicated bit is a one, jump to the address indicated; otherwise proceed with the next instruction. The branch destination is computed by adding the signed relative-displacement in the third instruction byte to the PC, after incrementing the PC to the first byte of the next instruction. The bit tested is not modified. No flags are affected.

Example:
The data present at input port 1 is 11001010B. The accumulator holds 56 (01010110B). The instruction sequence
JB P1.2,LABEL1
JB ACC.2,LABEL2
will cause program execution to branch to the instruction at label LABEL2.

Operation:
JB
(PC) = (PC) + 3
if (bit) = 1 then
(PC) = (PC) + rel

Encoding:
0 0 1 0 0 0 0 0 + bit address + rel. address

Bytes: 3

Cycles: 2.

10 Good Reasons

sep

 

Contact

Service@Batronix.com
Fax:+49(0)4307/824339

Batronix
Lise-Meitner-Str. 1-7
24223 Schwentinental
Germany

New: BX48 Batego!

Der neue BX48 Batego!The new Batronix BX48 Batego is an extreme powerful, compact and easy to use universal programmer. Due to the specially developed Batronix pindriver ICs the BX48 reaches a new dimension of speed, low power consumption and compact design.
Read more about the BX48 Batego...

sep

Free shipping within EU!

Einführungsaktion für Rigol Oszilloskope!Batronix Special:
FREE Shipping within the EU on orders of 200 Euro and more!

This special offer applies only to our standard GLS shipping (delivery time 1-3 business days within EU).