当前位置:网站首页>Data in the assembly cannot start with a letter! 0 before the beginning of a letter

Data in the assembly cannot start with a letter! 0 before the beginning of a letter

2022-06-12 01:24:00 Poem water world


If the data in the source code starts with a letter , The compiler will report an error

For example, the following code , compiling

       
assume cs:code
code segment
start:
mov ax,ffffH
code ends
end start
  • 1.
  • 2.
  • 3.
  • 4.
  • 5.
  • 6.

The following errors will be reported when compiling : 

 Data in the assembly cannot begin with a letter ! Preceded by a letter 0_ compiler

So it will ffffh Add a zero before it , become 0ffffh

Then the compiler will not report an error  

 Data in the assembly cannot begin with a letter ! Preceded by a letter 0_ compiler _02



原网站

版权声明
本文为[Poem water world]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/03/202203011403430759.html