Question: How to fix these errors. Assembly. Code should run and output. INCLUDE asmlib.inc .data msg1 BYTE Here are my programming books:, 0dh, 0ah, 0 //

How to fix these errors. Assembly. Code should run and output.

INCLUDE asmlib.inc

.data

msg1 BYTE "Here are my programming books:", 0dh, 0ah, 0 // first message line title11 BYTE "Assembly Language For the", 0 // first part of book title title12 BYTE "x86 Processor (7th Edition)", 0 // second part of book title author1 BYTE "Kip Irvine", 0 // author name of book publisher1 BYTE "Prentice Hall", 0; // publisher name of first book title21 BYTE "C# 2012 for Programmers", 0 // first part of second book title22 BYTE "(5th Edition)", 0 // second part of second book author2 BYTE "P. Dietel, H. Dietel", 0 // author of second book publisher2 BYTE "Prentice Hall", 0 // publisher name of second book msg BYTE 0dh, 0ah, 0 ;//CR LF tabr BYTE 9h, 0 ;//TAB

.code

main PROC call clearScreen ;// clears the screen

mov edx,offset msg1 ;// moves into the edx registry the first message string call WriteString ;// writes the message mov edx,offset msg ;// moves into the edx registry the crlf string call WriteString ;// writes the message

mov edx,offset title11 ;// moves into the edx registry the first part of the book title string call WriteString ;// writes the message mov edx,offset msg ;// moves into the edx registry the crlf string call WriteString ;// writes the message

mov edx,offset title12 ;// moves into the edx registry the second part of the book title string call WriteString ;// writes the message mov edx,offset tabr ;// moves into the edx registry the crlf string call WriteString ;// writes the message mov edx,offset author1 ;// moves into the edx registry the author string call WriteString ;// writes the message mov edx,offset tabr ;// moves into the edx registry the tab string call WriteString ;// writes the message mov edx,offset tabr ;// moves into the edx registry the tab string call WriteString ;// writes the message

mov edx,offset publisher1 ;// moves into the edx registry the publisher string call writeString ;// writes the message mov edx,offset tabr ;// moves into the edx registry the tab string call WriteString ;// writes the message mov edx,offset msg ;// moves into the edx registry the crlf string call WriteString ;// writes the message mov edx,offset msg ;// moves into the edx registry the crlf string call WriteString ;// writes the message mov edx,offset title21 ;// moves into the edx registry the first part of the second book title string call WriteString ;// writes the message mov edx,offset msg ;// moves into the edx registry the crlf string call WriteString ;// writes the message mov edx,offset title22 ;// moves into the edx registry the second part of the second book title string call WriteString ;// writes the message mov edx, offset msg ;// moves into the edx registry the crlf string call WriteString ;// writes the message mov edx,offset author2 ;// moves into the edx registry the second author string call WriteString ;// writes the message mov edx,offset tabr ;// moves into the edx registry the tab string call WriteString ;// writes the message mov edx,offset tabr ;// moves into the edx registry the tab string call WriteString ;// writes the message mov edx,offset publisher2 ;// moves into the edx registry the second publisher string call WriteString ;// writes the message mov edx,offset tabr ;// moves into the edx registry the tab string call WriteString ;// writes the message mov edx,offset msg ;// moves into the edx registry the crlf string call WriteString ;// writes the message mov edx,offset msg ;// moves into the edx registry the crlf string call WriteString ;// writes the message exit main ENDP END main

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!