This program causes GNUsim8085 to crash and close without warning,
jmp start
;data
data: db 01h,02h,03h,04h,05h,06h,07h,08h,09h,0Ah,0Bh,0Ch,0Dh,0Eh,0Fh,10h,11h,12h,13h,14h,15h,16h,17h,18h,19h,1Ah,1Bh,1Ch
;code
start: nop
hlt
It will work up to 1Ah.
If you define up to 1Bh, it will say the program has errors on line 3 (Undefined symbol and DB: Operand error).
Up to 1Ch it will crash with a Segmentation Fault to the terminal.
This program causes GNUsim8085 to crash and close without warning,
jmp start 03h,04h, 05h,06h, 07h,08h, 09h,0Ah, 0Bh,0Ch, 0Dh,0Eh, 0Fh,10h, 11h,12h, 13h,14h, 15h,16h, 17h,18h, 19h,1Ah, 1Bh,1Ch
;data
data: db 01h,02h,
;code
start: nop
hlt
It will work up to 1Ah.
If you define up to 1Bh, it will say the program has errors on line 3 (Undefined symbol and DB: Operand error).
Up to 1Ch it will crash with a Segmentation Fault to the terminal.