Discussion
Identify the addressing modes of below instructions and match them :
| (a) ADI | (1) Immediate addressing |
| (b) STA | (2) Direct addressing |
| (c) CMA | (3) Implied addressing |
| (d) SUB | (4) Register addressing |
Answer: A
In the 8085 instruction set, ADI adds an immediate byte to the accumulator, so it uses immediate addressing (1). STA stores the accumulator at a given memory address, which is direct addressing (2). CMA complements the accumulator and names no operand, so it uses implied addressing (3), and SUB subtracts a register from the accumulator, which is register addressing (4). So the match is a-1, b-2, c-3, d-4, option (A). The other options give STA or CMA the wrong mode.
No comment is present. Be the first to comment.
Loading…
Post your comment
Please log in or register to post a comment.
Examination Categories
- SSC Exams
- Banking Exams
- Teaching Exams
- Civil Services Exams
- Railways Exams
- Engineering Recruitment Exams
- Defence Exams
- State Government Exams
- Police Exams
- Insurance Exams
- Nursing Exams
- Other Government Exams
- NRA CET
- PG Entrance Exams
- Campus Placement
- MBA Entrance Exams
- CUET and UG Entrance
- Judiciary Exams
- Regulatory Body Exams
- Software Development