Video Tutorial to Learn Color Code in Assembly Language?

Asked By 0 points N/A Posted on -
qa-featured

Where to find tutorials to learn Color codes in assembly language?

SHARE
Best Answer by Sharath Reddy
Answered By 0 points N/A #160510

Video Tutorial to Learn Color Code in Assembly Language?

qa-featured

I have here some list of color codes.

'A' – white foreground and blue background (ASCII 0x41). 

'B' – blue foreground and white background (ASCII 0x42).

'x' – red foreground and green background (ASCII 0x78).

'y' – green foreground and red background (ASCII 0x79).

'z' – normal attribute and blinking (0x7A).

'backspace' – red background (0x20).

example:

mov ax, 0x4720

Try this examples for practice..

Here are some tutorials,

Another – https://www.youtube.com/watch?v=ViNnfoE56V8

Best Answer
Best Answer
Answered By 590495 points N/A #160511

Video Tutorial to Learn Color Code in Assembly Language?

qa-featured

Programs that were created using the assembly language consist of sequence of source statements. Every source statement in the program consists of a sequence of ASCII characters where it ends in a hard return. Each source statement may include up to four fields: a label, an operation [instruction mnemonic or assembler directive], an operand, and a comment.

A statement in an assembly language contains the following fields:

  • Label Field – used to define a symbol.
  • Operation Field – this defines the pseudo-op or the operation code.
  • Operand Field – this indicates either the data or the address.
  • Comment Field – this is where the programmer can enter the documentation of the program.

But when creating a program, it is not required that all 4 fields should be present in one statement. Sometimes a line may just contain a comment. The first token in these lines must begin with an asterisk [*] or a semicolon [;] like the ones below.

; This line is a comment

  • This is a comment too
  • This line is a comment

For the rest of the guide, you may visit Developing Software in Assembly Language | Syntax.

Related Questions