Why does my assembly program (x86) freezes in Dosbox when I try to run it?
问题 Things to note: Working in x86 assembly (16-bit); using Nasm; running program in DosBox. When I try to run the program in DosBox, the emulator freezes (I'm not sure freezes is the right word since the cursor still blinks) and refuses to respond to input. The first time I tried running it DosBox actually crashed. Here is my code: ;ASSIGNMENT 3 org 100h section.data: prompt1 db 0dh, 0ah, 0dh, 0ah, "Please input a signed base-10 integer: $" prompt2 db 0dh, 0ah, "Your number in binary is: $"