-3

Can someone explain what each expression(L Equ 0AH and T equ 09h) means in assembly,please?

Michael Petch
  • 46,082
  • 8
  • 107
  • 198
Byaby
  • 1
  • 4
    L is short for Line Feed (0ah) and T is short for Tab character (09h). – Michael Petch Jan 05 '18 at 10:44
  • And EQU , 0AH and 09H? – Byaby Jan 05 '18 at 10:46
  • 3
    It is like saying `#define L 0x0a` and `#define T 0x09` in _C_. You can then use L and T instead of the actual values. You can check an [ASCII chart](https://www.bibase.com/ascii.htm) to see the hex to character mappings – Michael Petch Jan 05 '18 at 10:47
  • 1
    Googling "tasm directives documentation" did return some PDF file with official documentation (which is BTW part of the turbo assembler package, when you buy it). You can check directives description there. – Ped7g Jan 05 '18 at 11:23

1 Answers1

1

They set symbolic names L and T equal to literal values. Effectively, wherever L appears in the code, it will be replaced by the assembler by 0x0a. In other words, this is defining static, constant values, not allocating memory for a variable.

David Hoelzer
  • 15,862
  • 4
  • 48
  • 67