the code in Assembly language the code in Assembly language 1. Using EdSim, solv
ID: 3606121 • Letter: T
Question
the code in Assembly language
the code in Assembly language
1. Using EdSim, solve the following problems: have a function called DELAY, which will make a waiting of 1 min without doing anything, writea program that will read name from RAM location 501I, and send it to a printer connected to port 2. When you send a character, you should use Delay function to make sure that the character was printed. The name is only four characters and it is stored in memory as ASCII b. Write a program that will read a sentence stored in memory and count the number of vowels in that sentence. The sentence ends with 0. The result of the number of vowel should be stored in memory location labeled VOWEL c. Write a program that will read a character from port 0 and count the number of zero in that characterExplanation / Answer
org 100h mov ax, 0 mov dx, 378 out dx, ax mov ax, 1 ; 1st mov cx, 1ah start1st: mov ax, 1 left: out dx, ax ; --------------------------------> how to loop? mov bx, 2 mul bx cmp ax, 80h jl left dec cx cmp cx,0 jg start1st ; end 1st
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.