Question 05: [Marks: 15] a) Find out and correct possible (syntax or logical) error(s) in following program. Only mentio

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Question 05: [Marks: 15] a) Find out and correct possible (syntax or logical) error(s) in following program. Only mentio

Post by answerhappygod »

Question 05 Marks 15 A Find Out And Correct Possible Syntax Or Logical Error S In Following Program Only Mentio 1
Question 05 Marks 15 A Find Out And Correct Possible Syntax Or Logical Error S In Following Program Only Mentio 1 (1.02 MiB) Viewed 40 times
Question 05: [Marks: 15] a) Find out and correct possible (syntax or logical) error(s) in following program. Only mention line number, possible correction along with reason. b) What will be output of the given program (after correcting error)? Program Line 1. ORG 100h Line 2. MOV CX, 5 Line 3. WHILE_: Line 4. Line 5. Please answer all questions according to emu8086 Assembly Language (important) Line 6. Line 7. MOV AH,1 INT 21H MOV AH, OH. PUSH AL Line 8. JMP WHILE_ Line 9. MOV AH, 3. Line 10. Line 11. Line 12. Line 13. Line 14. Line 15. Line 16. Line 17. Line 18. Line 19. Line 20. Line 21. Line 22. Line 23. Line 24. Line 25. MOV DL, OA- INT 21H MOV DL, OD INT 21H MOV BX 5 DISPLAY MOV AH, 2 POP DX CMP DL,'A' JNGE NOT PRIT CMP DL,'Z' JNLE NOT PRINT INT 21H NOT PRINT: LOOP DISPLAY_ ret (Marks:10) (Marks:5)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply