

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
Microprocessor assignment of year 2021
Typology: Assignments
1 / 3
This page cannot be seen from the preview
Don't miss anything!
Question- 1 : The 8086 instruction CWD is used to (A) Exchange the contents of memory with register (B) Convert the byte into word (C) Convert the word into double word (D) Convert the ASCII into EBCDIC Correct answer : (C) Detailed solution : Self-explanatory Question- 2 : If [AX]=F000H, after the execution of the instruction CBW, the contents of AX would be (A) 0000H (B) F000H (C) FFFFH (D) FF00H Correct answer : (A) Detailed solution : Refer to page 7 in the pdf link below: https://nptel.ac.in/content/storage2/courses/106108100/pdf/Lecture_Notes/LNm2.pdf Question- 3 : The number of software interrupts present in 8086 are (A) 16 (B) 32 (C) 64 (D) 256 Correct answer : (D) Detailed solution : Self-explanatory
Question- 4 : Type 4 interrupt is (A) Divide by zero interrupt (B) Single step interrupt (C) Breakpoint interrupt (D) Interrupt on overflow Correct answer : (D) Detailed solution : Self-explanatory Question- 5 : After the execution of INT 20 instruction (A) The contents of stack pointer will be decremented by 1 (B) The contents of stack pointer will be decremented by 2 (C) The contents of stack pointer will be decremented by 4 (D) The contents of stack pointer will be decremented by 6 Correct answer : (D) Detailed solution : INT n (n can be 0 through 255) [SP] [SP]- 2 [[SP]] Flags IF 0 TF 0 [SP] [SP]- 2 [[SP]] [CS] [CS] 4n+ [SP] [SP]- 2 As we can see above that the contents of stack pointer gets decremented by 2 three times. So, the correct answer is (D).