Dear friends i am new on assembly language please writer the codes for these questions so that i can understand the assembly language more breifly. Thanks
1. Write A with white foreground and blue background color. (ASCII code of A is 0x41).
2. Write B with blue foreground and white background color. (ASCII code of B is 0x42)
3. Write x with red foreground and green background color. (ASCII code of x is 0x78)
4. Write y with green foreground and red background color. (ASCII code of y is 0x79)
5. Write z with normal attribute and blinking. (ASCII code of c is 0x7A).
An example is solved for you:
Write blank space on red background color. (ASCII code of blank space is 0x20)
Solution:
mov ax, 0x4720
Start Free Trial