0

我有一个包含 50K 行代码的程序集文件(它已生成)。我尝试使用巨大的模型,但问题仍然存在。谁来帮帮我?

   *Warning* Libreria.asm(26227) Location counter overflow
   *Warning* Libreria.asm(52442) Location counter overflow

我的代码以

   .model small ; I tried with model huge but this does not work
   .stack 100h
   .data
      modovideo db ?
   .code
   main proc
      ; paint pixel by pixel - 150 000 lines , if this is less than 26227 lines, this works)
   main endp
   end main
4

1 回答 1

1

我猜这是 16 位代码,并且您的代码段超过 64k。巨大的模型将无济于事,16 位模式下的任何段都不能大于 64kbytes。尝试生成列表文件并查看代码段中的偏移量是否环绕(重置为 0)或超过 65535(0FFFFh)。

于 2011-07-05T10:47:44.187 回答