1 of 9

BRANCH-E & TC ENGG

SUBJECT-MICROPROCESSOR & MICROCONTROLLER

CHAPTER-2-INSTRUCTION SET AND ASSEMBLY LANGUAGE PROGRAMMING

TOPIC-INSTRUCTION SET

SEM-4TH

FACULTY-ER. ARADHANA DAS(LECT. E & TC ENGG DEPARTMENT)

AY-2021-2022, SUMMER-2022

INSTRUCTION SET

2 of 9

3 of 9

4 of 9

5 of 9

6 of 9

7 of 9

Programming of addition of 2 8 bit number

Memory Address

Opcord

Mnemonics

4100

3A

LDA 4150

4101

50

4102

41

4103

47

MOV B,A

4104

3A

LDA 4151

4105

51

4106

40

4107

80

ADD B

4108

32

STA 4152

4109

52

410A

41

410B

76

HLT

8 of 9

  • Explanation –
  • A is an 8-bit accumulator which is used to load and store the data directly
  • LDA is used to load accumulator direct using 16-bit address (3 Byte instruction)
  • add is used to addition content of accumulator (1 Byte instruction)
  • STA is used to store accumulator direct using 16-bit address (3 Byte instruction)
  • MOV is used to move data register A to B immediately (1Byte instruction)
  • HLT is used to halt the program

9 of 9