Re: Linux is as buggy as Windows

From: Walter Roberson (roberson_at_ibd.nrc-cnrc.gc.ca)
Date: 09/27/03


Date: 27 Sep 2003 03:54:13 GMT

In article <oprv41bor20bbmzj@nntp>,
David W. Hodgins <dhodgin1661@rogers.invalid> wrote:
:On Sat, 27 Sep 2003 00:42:54 GMT, Leythos <void@nowhere.com> wrote:

:> Move.B #0,Dx Clr.B Dx 8 cycles, 2 bytes
:> Move.W #0,Dx Clr.W Dx 8 cycles, 2 bytes
:> Clr.L Dx Moveq #0,Dx 2 cycles
:> Move.L #0,Dx Moveq #0,Dx 8 cycles, 4 bytes
:> Move.L #0,Ax Suba.L Ax,Ax 4 cycles, 4 bytes
:> Move.L #[-128..127],Dx Moveq #[-128..127],Dx 8 cycles, 4 bytes

:> begin: push hl ;Save
:> call clear
:> ld hl,0 ;Get top of memory
:> ld b,0 ;HIGH$
:> ldos @high$
:> dec hl
:> push hl
:> ld de,buffer ;Start of buffer

:My memory is failing<g>. Is that 780?

The first one looks to be 680x0, with each 'x' being a number -- data
registers for the Dx, address registers for the Ax. When I first read it,
it appeared to be somewhere around PDP11, but PDP11 did not have
Moveq (Move Quick), did not have Suba (Subtract Address), and
did not have Byte (.B), Word (.W) -and- Long (.L) extensions.

The second would be something in the *80* series, like Z80 or 8080 or
80x86. The 'de' registered had appeared by the time of the 8086, but
I wouldn't swear it existed at the time of the 8080. I'm going to
guess Z80.

-- 
What is "The Ultimate Meme"? Would it, like Monty Python's
"The World's Funniest Joke", lead to the deaths of everyone who
encountered it? Ideas *have* lead to the destruction of entire cultures.
   -- A Child's Garden Of Memes


Relevant Pages

  • Re: Linux is as buggy as Windows
    ... registers for the Dx, ... it appeared to be somewhere around PDP11, ... Moveq, did not have Suba, and ... What is "The Ultimate Meme"? ...
    (comp.security.misc)
  • Re: Linux is as buggy as Windows
    ... registers for the Dx, ... it appeared to be somewhere around PDP11, ... Moveq, did not have Suba, and ... What is "The Ultimate Meme"? ...
    (alt.computer.security)
  • Re: Linux is as buggy as Windows
    ... registers for the Dx, ... it appeared to be somewhere around PDP11, ... Moveq, did not have Suba, and ... What is "The Ultimate Meme"? ...
    (comp.security.misc)
  • Re: for your languages
    ... chip does not have the same map of registers. ... moveq #0,d0 ... You can't translate this to x86, because x86 doesn't HAVE eight general ... And this is why you can't meaningfully talk about an assembler being ...
    (comp.lang.c)