Question

The total addressable memory size is 64 KB for the Motorola 6800 microprocessor. Accumulator A (ACCA)...

The total addressable memory size is 64 KB for the Motorola 6800 microprocessor. Accumulator A (ACCA) is an 8-bit register used for arithmetic and logic operations.

Part A: - Explain the Instruction Set for the Motorola 6800 microprocessor. (cite your work)

- Explain the registers for the Motorola 6800 microprocessor. (cite your work)

Homework Answers

Answer #1

Explain the Instruction Set for the Motorola 6800 microprocessor

Answer:-

For Motorola 6800, there are 72 different types of instructions and 197 different opcodes. So there are 51 one-Byte instruction, 103 two-Byte instruction and 43 three-Byte instruction. 6800 has advanced branching instructions as well.

The different instruction groups are like these −

  • Data Transfer Group
  • Arithmetic Group
  • Logical Group
  • Branch Group
  • Miscellaneous Instructions

Data transfer Group

In this group, there are 14 instructions. We can find 38 opcodes for these 14 instructions. These instructions are like below.

Mnemonics

Number of Opcodes

LDA A/B, d8/a16/a8/IX+a8

8

STA A/B, a16/a8/IX+a8

6

LDS/LDX, d16/a16/a8/IX+a8

8

STS/STX a16/a8/IX+a8

6

PSH/PUL A/B

4

TAB/TBA/TSX/TXS/TAP/TPA

6

Arithmetic Group

In this group, there are 15 instructions. We can find 55 opcodes for these 15 instructions. These instructions are like below.

Mnemonics

Number of opcodes

ABA/SBA

2

SBC/SUB/ADC/ADD A/B d8/a8/a16/IX+ a8

32

INS/INX/DES/DEX

4

NEG/CLR/INC/DEC A/B/a16/IX + a8

16

DAA

1

Logical Group

In this group, there are 14 instructions. We can find 73 opcodes for these 14 instructions. These instructions are as below.

Mnemonics

Number of Opcodes

BIT/CMP/EOR/ORA/AND A/B, d8/a8/a16/IX + a8

40

ROR/ROL/LSR/ASR/ASL/COM/TSTA/B/a16/IX + a8

28

CPX d16/a8/a16/IX + a8

4

CBA

1

Here rotate instructions(ROR and ROL) are only for 8-bit data. The ASR and ASL are the arithmetic shift operations and LSR is Logical Shift Right instruction.

Branch Group

In this group, there are 21 instructions. We can find 23 opcodes for these 21 instructions.. Here the instruction for V flag is also present.These V related instructions are BVS (Branch when V flag is set), and BVC (Branch when V flag is reset). In 6800, the conditional branch instructions can check more than one flags. It helps to compare two signed/unsigned numbers. Here higher and lower keywords are used for unsigned numbers and greater and fewer keywords are used for signed numbers. So for these keywords, there are instructions like BHI(Branch if Higher), BLS(Branch if lower or same). The BGT(Branch if greater than) and BGE(Branch if greater and equal), BLT(Branch if Less than) and BLE(Branch if less than)

These instructions are like below.

Mnemonics

Number of Opcodes

BCC/BCS/BEQ/BNE/BMI/BPL/BVC/BVSr8

8

BHI/BLS r8

2

BGT/BGE/BLT/BLE r8

4

BRA/BSR r8

2

JMP/JSR a16/IX + a8

4

RTS/RTI

2

SWI

1

Miscellaneous Group

Now we will see some special instructions, which are not classified into some special groups. There are eight opcodes of eight different types. These instructions are like WAI(Wait for interrupt), NOP etc.

These instructions are like below.

Mnemonics

Number of Opcodes

WAI

1

NOP

1

CLC/SEC/CLI/SEI/CLV/SEV

6

Explain the registers for the Motorola 6800 microprocessor

Answer:-

The Motorola M6800 is 40pin DIP IC. It is an 8-bit Microprocessor. It was introduced in 1974 by Motorola. It was designed nearly at the same time when the 8080 was introduced. Like 8080, it also had 16-bit address bus to handle 64KB of data, and 8-bit data bus to read and write data.

The M6800 has very few registers. It has two Accumulators A and B, and the Index Register. This Microprocessor only supports the memory mapped IO because there is no instruction regarding IO operations in its instruction set.

The following are the Registers:-

Accumulator A (ACCA) is an 8-bit register used for arithmetic and logic operations.

Accumulator B (ACCB) is an 8-bit register used for arithmetic and logic operations.

Index (IX) is a 16-bit register usually used for temporary storage or as an index when indexed addressing is used.

Program counter (PC) is a 16-bit register.

Stack pointer (SP) is a 16-bit register.

Condition code register contains the following flags:

  • Half carry (H) - set if there was a carry from bit 3 to bit 4 of the result when the result was calculated.
  • Interrupt mask (I) - set if the IRQ interrupt is disabled.
  • Negative (N) - set if the most significant bit of the result is set.
  • Zero (Z) - set if the result is zero.
  • Overflow (V) - set if there was an overflow during last result calculation.
  • Carry (C) - set if there was a carry from the bit 7 during last result calculation
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
A digital computer has a memory unit with 32 bits per word. The instruction set consists...
A digital computer has a memory unit with 32 bits per word. The instruction set consists of 147 different operations. All instructions have an operation code part (opcode) and two address fields: one for a memory address and one for a register address. This particular system includes eight general-purpose, user-addressable registers. Registers may be loaded directly from memory, and memory may be updated directly from the registers. Direct memory-to-memory data movement operations are not supported. Each instruction stored in one...
Microprocessor 8086 material. Choose the correct answer. 1- For a (64K x 8) RAM, the number...
Microprocessor 8086 material. Choose the correct answer. 1- For a (64K x 8) RAM, the number of address lines is: * 17 19 16 15 20 14 18 2-Which of the following instructions requires (BYTE PTR)? * SHR [500H], 3h LDS SI, [1000H] LAHF PUSH [9AAH] ADD AX, [800H] 3-Where are the interrupt vectors located in the microprocessor’s memory? * in the first 64K byte in the first 1K byte in the first 256K byte in the first 1M byte...
1. The memory units that follow are specified by the number of words times the number...
1. The memory units that follow are specified by the number of words times the number of bits per word. How many address lines and input/output data lines are needed in each case? (a) 8K X 16 (b) 2G X 8 (c) 16M X 32 (d) 256K X 64 2. Give the number of bytes stored in each memory unit in question 1. 3. Word number 563 decimal in the memory shown in Fig. 7.3 (see Mano-Ch7.pdf) contains the binary...
1) Describe an example of each of the following that may be found of your kitchen:...
1) Describe an example of each of the following that may be found of your kitchen: Explain how your choice falls into this category, and if there is a chemical name or symbol for it, provide that as well. Provide a photo of your example with your ID card in it. a) a compound b) a heterogeneous mixture c) an element (symbol) Moving to the Caves… Lechuguilla Caves specifically. Check out this picture of crystals of gypsum left behind in...
What tools could AA leaders have used to increase their awareness of internal and external issues?...
What tools could AA leaders have used to increase their awareness of internal and external issues? ???ALASKA AIRLINES: NAVIGATING CHANGE In the autumn of 2007, Alaska Airlines executives adjourned at the end of a long and stressful day in the midst of a multi-day strategic planning session. Most headed outside to relax, unwind and enjoy a bonfire on the shore of Semiahmoo Spit, outside the meeting venue in Blaine, a seaport town in northwest Washington state. Meanwhile, several members of...
Wal-Mart Online Wal-Mart is one of the largest companies in America. It is definitely the largest...
Wal-Mart Online Wal-Mart is one of the largest companies in America. It is definitely the largest retailer, both in terms of the number of stores (8,970 worldwide in 2011) and the level of sales ($419 billion from the 2011 Annual Report). By pushing suppliers to continually reduce costs, Wal-Mart is known for pursuing low prices and the stores often attract customers solely in-terested in lower prices. With Wal-Mart’s expansion into groceries, the company has be-come the largest retail grocer in...
Please read the article and answear about questions. Determining the Value of the Business After you...
Please read the article and answear about questions. Determining the Value of the Business After you have completed a thorough and exacting investigation, you need to analyze all the infor- mation you have gathered. This is the time to consult with your business, financial, and legal advis- ers to arrive at an estimate of the value of the business. Outside advisers are impartial and are more likely to see the bad things about the business than are you. You should...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary...
Please answer the following Case analysis questions 1-How is New Balance performing compared to its primary rivals? How will the acquisition of Reebok by Adidas impact the structure of the athletic shoe industry? Is this likely to be favorable or unfavorable for New Balance? 2- What issues does New Balance management need to address? 3-What recommendations would you make to New Balance Management? What does New Balance need to do to continue to be successful? Should management continue to invest...
Gender Bias in the Executive Suite Worldwide The Grant Thornton International Business Report (IBR) has described...
Gender Bias in the Executive Suite Worldwide The Grant Thornton International Business Report (IBR) has described itself as "a quarterly survey of business leaders from across the globe … surveying 11,500 businesses in 40 economies across the globe on an annual basis." 1 According to the 2011 IBR, the Asia Pacific region had a higher percentage (27 percent) of female chief executive officers (CEOs) than Europe and North America. Japan is the only Asia Pacific region exception. The report further...