assembler - understanding of some lines
Posted
by
user1571682
on Stack Overflow
See other posts from Stack Overflow
or by user1571682
Published on 2012-09-14T15:27:13Z
Indexed on
2012/09/14
15:38 UTC
Read the original article
Hit count: 447
with the help of some tutorials, i wrote a little piece of code, to display me a string, after booting from my floppy.
my problem is now, that dont understand some lines, were i hope u can help me, or just tell me, if im right.
code:
mov ax, 07C0h
add ax, 288 ; (512 + 4096) / 16 = 288
mov ss, ax
mov sp, 4096
mov ax, 07C0h
mov ds, ax
- line: start the program @ the adress 07C0h (could i change this?)
- Add space for 288 paragraphs to ax
- ?
- Space of 4096 bytes for my program (to store variables and stuff?)
- Go to the start adress
- ?
thanks for your help.
© Stack Overflow or respective owner