Instruction Sets Assignment Help

Assignment Help: >> Introduction to 2051 Microcontroller - Instruction Sets

Instruction Sets:

Command

Description

ADD

Add Two Numbers

SUBB

Subtract Two Numbers

INC

Increment Data (Add 1 to existing amount)

DEC

Decrement Data (Subtract 1 from existing amount)

MUL

Multiply Two Numbers

DIV

Divide Two Numbers

ANL

Logical AND Two Numbers

ORL

Logical OR Two Numbers

XRL

Logical XOR Two Numbers

CLR

Clear (reset) data to 0

CPL

Complement (Flip) Data (1s go to 0 and 0s go to 1)

MOV

Move data around in the chip from register to register

SETB

Set a number to 1

JB

Jump to a new location if a number is 1

JNB

Jump to a new location if a number is 0

ACALL

Jump to a subroutine, then return to this point when done with subroutine

RET

Return from subroutine (used at end of subroutine)

AJMP

Jump to a new location

JZ

Jump if a number is 0

JNZ

Jump if a number is not 0

CJNE

Compare two numbers and jump if they are not equal

DJNZ

Decrease a number by 1 and jump if result is not zero

NOP

No Operation (used to waste time when waiting for something to happen)

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd