Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > it.comp.retrocomputing > #54345

Re: Problema BASIC IBM su ROM

From Marco Maccaferri <m.maccaf@gmail.com>
Newsgroups it.comp.retrocomputing
Subject Re: Problema BASIC IBM su ROM
Date 2022-06-27 11:55 +0200
Organization Aioe.org NNTP Server
Message-ID <t9bur9$10uf$1@gioia.aioe.org> (permalink)
References <t99muo$fla$1@gioia.aioe.org> <t9bgu2$13hm$1@gioia.aioe.org> <XnsAEC35F5EC5421ammammatatiscalineti@127.0.0.1> <606270f6-e940-46fa-ba1b-45a096f2c641n@googlegroups.com>

Show all headers | View raw


Il 27/06/22 10:23, Nuzzler ha scritto:

> CMPS: "compares two strings (actually, two arrays)".
> Ganzo.
> 
> Segmento DS: "Data Segment"
> http://www-lia.deis.unibo.it/Courses/FondII/80861.pdf
> "Lo spazio di memoria indirizzabile dalla CPU è diviso in segmenti logici
> (massimo 64k byte). La CPU può accedere direttamente a 4 segmenti per
> volta (massimo 256k byte)"
> 
> Override di un segmento:
> https://www.includehelp.com/embedded-system/segment-override-prefix-8086-microprocessor.aspx
> "the effective address is calculated by appending the segment registers value
> and adding up the value of the respective offset. But what if we want to choose
> some other offset than the assigned one.
> This freedom is provided to us in 8086 microprocessor through the concept of
> Segment override prefix."
> 
> Mi pare che la gestione della memoria nei processori x86 possa diventare una
> bella fonte di grattacapi...

Abbastanza... ma più per la programmazione che per l'emulazione 
(semprechè ti ricordi di applicare l'override... :-) ).

Saranno quasi 30 anni che non programmo in assembler 8086 ma ricordo che 
a volte si impazziva a capire perchè un programma non funzionava per poi 
scoprire che si leggevano i dati dal segmento sbagliato...

Back to it.comp.retrocomputing | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Problema BASIC IBM su ROM Marco Maccaferri <m.maccaf@gmail.com> - 2022-06-26 15:28 +0200
  Re: Problema BASIC IBM su ROM Ammammata <ammammata@tiscali.it> - 2022-06-26 14:20 +0000
    Re: Problema BASIC IBM su ROM Marco Maccaferri <m.maccaf@gmail.com> - 2022-06-26 17:47 +0200
  Re: Problema BASIC IBM su ROM Marco Maccaferri <m.maccaf@gmail.com> - 2022-06-27 07:58 +0200
    Re: Problema BASIC IBM su ROM Ammammata <ammammata@tiscalinet.it> - 2022-06-27 07:22 +0000
      Re: Problema BASIC IBM su ROM Nuzzler <nuzzo_dde@yahoo.it> - 2022-06-27 01:23 -0700
        Re: Problema BASIC IBM su ROM Marco Maccaferri <m.maccaf@gmail.com> - 2022-06-27 11:55 +0200
          Re: Problema BASIC IBM su ROM Ammammata <ammammata@tiscalinet.it> - 2022-06-27 10:31 +0000

csiph-web