Linux is as buggy as Windows

C

Chris Mattern

David said:
Things like, JCL, IEBGENER, and IDCAMS, are English?

Hey, DCB=(LRECL=80,BLKSIZE=0,DSORG=PS,RECFM=FB) should be
intuitive for anybody!

Chris Mattern
 
L

Leythos

Hey, DCB=(LRECL=80,BLKSIZE=0,DSORG=PS,RECFM=FB) should be
intuitive for anybody!

How about a step even further back:

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

Or things like this:
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
 
D

David W. Hodgins

How about a step even further back:

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

Or things like this:
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?
 
W

Walter Roberson

:> 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.
 
L

Leythos

:> 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.

Exactly correct - the 68000 series.
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.

Z80 is also correct.

Sheesh, I had to pull up old paper print-outs to find this, none of my
large format diskettes fit in my 5.25" floppy :)
 
T

Tore Lund

Leythos said:
Z80 is also correct.

Since we are already off topic, maybe you could divulge what LDOS is?
A macro or something? I cannot see it in my Z80 reference.
 
C

cquirke

Or things like this:
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

Ah, that brings a tear to my eye :)

Cue geek joke...

"What's the opcode for "PUSH BC" ?
' I dunno... what? '
"C5!"
<everyone ROTFL>

Push BC is a Z80 asembler mnemonic that codes to hexadecimal C5.

Why this is funny is because Clive Sinclair (originator of the Black
Watch, ZX80, ZX81, ZX Spectrum and QL computers) also invented the C5,
a lightweight personal transport that took off like a Ford Edsel
without an engine. Push BC can also be read as "Push Bicycle"...

....I guess you had to have been there

We used to do horrible things like...

LD A,I
LD (IXH), A
LD (IXL), C
PUSH IX
RET

:)




--------------- ------- ----- ---- --- -- - - - -
Sucess-proof your business! Tip #37
When given an NDA to sign, post it on your web site
 
L

Leythos

Since we are already off topic, maybe you could divulge what LDOS is?
A macro or something? I cannot see it in my Z80 reference.

It's a key for the specific compiler I use to use. It has nothing to do
with the instruction set. I can't remember what it does - links to the
first DOS segment (not MS DOS).
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top