Gast
#4735845
Hallo, ich habe folgenden Programmcode:
.data
D equ 10 ; Teiler
Zahl DW 76 ; Zahl
ERG DW 0 ; Ergebnis
;
------------------------------------------------------------------------
--
.stack 16
;
------------------------------------------------------------------------
--
.code
.startup
mov ax,zahl
mov bx,D
div bx
add AL,AH
and ax,00FFh
add AX,30h
mov ERG,AX
.exit
und das Problem, dass ein Stack overflow bei div bx kommt. Woher kommt
dieser und wie löse ich das?