s
  

 Klicken Sie hier um zu den Deutschen Seiten zu gelangen...
 Click here if you prefer English...
  
s
ProdukteUniversal Programmer... Service + HilfeVersandkosten und Lieferung... DownloadsProg-Studio... Know How + MoreSpeicherchips... BauanleitungenEprom Brenner... Forum

Index:  Downloads:  Mikrocontroller Befehlssatz

Auf insgesamt 79 Seiten werden alle Befehle der Mikrocontroller ausführlich in englischer Sprache erklärt.

Download Mikrocontroller Befehlssatz Mikrocontroller Befehlssatz
 (79 Seiten, 308 kBytes
)

Hier als Beispiel die Beschreibung des Befehls 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


 FAQ | Versandkosten & Lieferung | Referenzen | Kunden Feedback | AGB | Datenschutz | Kontakt

 
  • Copyright 1999 - 2007 by Batronix Elektronik •  
Impressum •