Question: MASM Assembly Language x86 Processor - Random_Screen_Location (Chapter 5, Pr 7) Hello Chegg experts, this is one of my programming assignments for MASM assembly language
MASM Assembly Language x86 Processor -
Random_Screen_Location (Chapter 5, Pr 7)
Hello Chegg experts, this is one of my programming assignments for MASM assembly language x86 Processor.
I desperately need your help on this!! Also use Irvine32 library.
Here is the assignment:
Write a program that displays a single character at 100 random screen locations, with a delay factor of some milliseconds. First, call GetMaxXY to determine the row and column range in AX and DX. Then in a loop, call RandomRange twice to get random row and column values for Gotoxy, where row and column numbers are zero-based. Next just use WriteChar and Delay. You can run ch05_07.exe to watch the screen similar to this:
A A A A A A AA A A A A A A A A A A A A A A A A A AA A A A A A A A A A A A A A A A
Thank you in advance...
|
Random_Screen Location (Chapter 5, Pr 7) Write a prograrm that displays a single character a 100 randorn screen loc ations, with a delay facter of soe milliseconds. First, cal GetMaxXY lo delernine the row and colun range in AX and DX. Thern in a loup, call RandomRange twice to gel rarndorn row and column values for Gotoxy, whane rw and calumn numbers ara zara-hased Naxt just use WriteChar and Delay You can run ch0_xtowatch the screen similar to this ay You can nun ch0507 xe the st
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts

