Please Code in Assembly Language
Code solution using the provided template AL_Template_Irvine32.asm located towards the bottom of the question. Debug programs with Visual Studio2017/19. Please add single line or block comments explaining the purpose or functionality of your code statements.
Draw Text Colors
Write a program that displays the same string in four different colors, using a loop. Call the Set-TextColor procedure from the book’s link library. Any colors may be chosen, but you may find it easiest to change the foreground color.
; Program Description: Describe with a short paragraph what your
; program does and its purpose. Explain in general
; terms the expected inputs and output result.
INCLUDE Irvine32.inc ;Use Irvine32 library.
;Declare constants here.
;Declare variables here.
;Write your code here.
;Procedures go here.
str3 BYTE "THello...World.",0
MOV ECX, 4
MOV EAX, green + (white*16)
MOV EDX, OFFSET str3
call SetTextColor ;setting color of text
Get Answers For Free
Most questions answered within 1 hours.