🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: pl.comp.lang.asm
3 messages
3 total messages Started by Johnny Wed, 11 Oct 2006 08:20
org 100h
#752
Author: Johnny
Date: Wed, 11 Oct 2006 08:20
4 lines
844 bytes
Czy org100h i .stack 100h mają takie samo znaczenie?

-- 
Johnny
Re: org 100h
#753
Author: Matuzalem
Date: Wed, 11 Oct 2006 08:27
16 lines
1528 bytes
Johnny napisał(a):
> Czy org100h i .stack 100h mają takie samo znaczenie?
>
> --
> Johnny

- stack to stos - czyli rezerwujesz 100h (256d) bajtów na stosie.

Pliki com charakteryzuja sie tym ze segment z kodem zaczyna sie od 100h
i moga wykorzystywac max jeden segment (64 Kb pamieci).

Pliki exe nie maja juz takich ograniczen i nie trzeba ich zaczynac od
100h.

Pozdrawiam
Re: org 100h
#754
Author: Wiktor S.
Date: Wed, 11 Oct 2006 19:43
9 lines
1069 bytes
> Czy org100h i .stack 100h mają takie samo znaczenie?

.stack 100h - określenie rozmiaru stosu na 256 bajtów

org 100h - wymuszenie aktualnego offsetu na 100h (akurat taka wartość jest 
do plików .com)

-- 
Azarien
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads