How to fix “os.asm:113: error: TIMES value -138 is negative” in assembly language
问题 I'm developing an operating system in assembly language. At a certain time i get this error from NASM: os.asm:113: error: TIMES value -138 is negative I want to take this project to the end. Only the errors like that despair me! Here is the code: BITS 16 start: mov ax, 07C0h ; Set up 4K stack space after this bootloader add ax, 288 ; (4096 + 512) / 16 bytes per paragraph mov ss, ax mov sp, 4096 mov ax, 07C0h ; Set data segment to where we're loaded mov ds, ax call cls MOV AH, 06h ; Scroll up