1.Code memory starting from 0050H holds a lookup table of 10 bytes. The fi rst element of the lookup table is

 

00H. What is the content of accumulator after executing the following piece of code?

MOV A, #00H

LCALL TABLE

NOP

ORG 004EH

TABLE: MOVC A, @A+PC

RET

(a) 00H (b) 22 (c) 22H (d) Undefi ned

(e) None of these

2. Register R0 contains 50H and Accumulator contains 01H. What will be the contents of R0 and A after executing the instruction MOV A,R0

(a) R0 = 01H; A = 01H (b) R0 = 50H; A = 01H

(c) R0 = 01H; A = 50H (d) R0 = 50H; A = 50H

(e) None of these

3. Data memory location 00H contains F0H and Stack Pointer (SP) contains 07H. What will be the contents of memory location 00H and SP after executing the instruction PUSH 00H

(a) Data memory location 00H = 07H; SP = 07H

(b) Data memory location 00H = F0H; SP = 07H

(c) Data memory location 00H = F0H; SP = 08H

(d) Data memory location 00H = F0H; SP = 06H

(e) None of these

4. Data memory location 00H contains F0H and Stack Pointer (SP) contains 08H. The memory location 08H contains 0FH. What will be the contents of memory location 00H, 08H and SP after executing the instruction POP 00H

(a) Memory location 00H = 0FH; Memory location 08H = F0H; SP = 08H

(b) Memory location 00H = F0H; Memory location 08H = F0H; SP = 07H

(c) Memory location 00H = 0FH; Memory location 08H = 0FH; SP = 07H

(d) Memory location 00H = 0FH; Memory location 08H = 0FH; SP = 09H

(e) None of these

5. Data memory location 0FH contains 00H and the accumulator contains FFH. What will be the contents of data memory location 0FH and the accumulator after executing the instruction XCH A, 0FH

(a) Memory location 0FH = 00H; Accumulator = FFH

(b) Memory location 0FH = 00H; Accumulator = 00H

(c) Memory location 0FH = FFH; Accumulator = 00H

(d) Memory location 0FH = FFH; Accumulator = FFH

(e) None of these

6. Data memory location 0FH contains A5H, Accumulator contains 5AH and register R0 contains 0FH. What will be the contents of data memory location 0FH, Register R0 and accumulator after executing the instruction XCHD A, @R0

(a) Memory location 0FH = A5H; Accumulator = 5AH; R0 = 0FH

(b) Memory location 0FH = 55H; Accumulator = AAH; R0 = 0FH

(c) Memory location 0FH = AAH; Accumulator = 55H; R0 = 0FH

(d) Memory location 0FH = A5H; Accumulator = 55H; R0 = AAH

(e) None of these

Found something interesting ?

• On-time delivery guarantee
• PhD-level professional writers
• Free Plagiarism Report

• 100% money-back guarantee
• Absolute Privacy & Confidentiality
• High Quality custom-written papers

Related Model Questions

Feel free to peruse our college and university model questions. If any our our assignment tasks interests you, click to place your order. Every paper is written by our professional essay writers from scratch to avoid plagiarism. We guarantee highest quality of work besides delivering your paper on time.

Grab your Discount!

25% Coupon Code: SAVE25
get 25% !!