Programming the 6502 microprocessor and its relatives in assembly and other languages.
BigDumbDinosaur
Posts: 9425 Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:
Post
by BigDumbDinosaur » Mon Aug 25, 2025 9:01 am
In a 6502 system, we may refer memory ranges in several ways:
Two bytes is a “word.”
Three bytes is an “extended word” (a 65C816 thing ).
4 bytes is a “double word.”
8 bytes is a “long word.”
256 bytes is a “page.”
65,536 bytes is a “bank.”
Without going into the “why,” I need a succinct name to refer to a range of 16 bytes.
BigEd
Posts: 11463 Joined: 11 Dec 2008
Location: England
Contact:
Post
by BigEd » Mon Aug 25, 2025 9:38 am
sentence?
paragraph?
double long?
long double?
sedecimyte?
hexadecamyte?
hexadecabyte?
barnacle
Posts: 1831 Joined: 19 Jan 2004
Location: Potsdam, DE
Contact:
Post
by barnacle » Mon Aug 25, 2025 10:26 am
Segment
BigEd
Posts: 11463 Joined: 11 Dec 2008
Location: England
Contact:
Post
by BigEd » Mon Aug 25, 2025 10:30 am
In other worlds, I see 'quadword' has been used, but in our case a word is only two bytes, so 'octaword' would be the equivalent.
By the same token, 'quaddouble' would be consistent.
fourbyfour?
BigEd
Posts: 11463 Joined: 11 Dec 2008
Location: England
Contact:
Post
by BigEd » Mon Aug 25, 2025 10:31 am
or how about chunk? Or block? Or square? (And by that route, quadrat, or ritter.)
barnacle
Posts: 1831 Joined: 19 Jan 2004
Location: Potsdam, DE
Contact:
Post
by barnacle » Mon Aug 25, 2025 12:21 pm
From nibble->byte->mouthful?
Dr Jefyll
Posts: 3525 Joined: 11 Dec 2009
Location: Ontario, Canada
Contact:
Post
by Dr Jefyll » Mon Aug 25, 2025 12:26 pm
From nibble->byte->mouthful?
Along the same line... a bolus ?
-- Jeff
barrym95838
Posts: 2056 Joined: 30 Jun 2013
Location: Sacramento, CA, USA
Post
by barrym95838 » Mon Aug 25, 2025 1:06 pm
It's a distant memory and therefore possibly inaccurate, but I think I've heard this referred to as a "paragraph" in the 8086/8 camp, coming from the way the segment registers are shifted left four bits before being incorporated into the 20-bit effective address.
Broti
Posts: 28 Joined: 07 Sep 2023
Location: Moers, Germany
Post
by Broti » Mon Aug 25, 2025 3:02 pm
If I recall correctly, older Turbo Pascal literature called 16 bytes Paragraph or Double Quadruple Word
ROR A? Where we're coding, we don't need A.
BigDumbDinosaur
Posts: 9425 Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:
Post
by BigDumbDinosaur » Mon Aug 25, 2025 3:29 pm
Hmm...that might be it.
I've seen references to a paragraph in the past, but they were usually for a range of 1K or 4K bytes.
Hexadecabyte sounds like what happens when one is attacked by a pack of dogs.
BigDumbDinosaur
Posts: 9425 Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:
Post
by BigDumbDinosaur » Mon Aug 25, 2025 3:32 pm
From nibble->byte->mouthful?
Along the same line... a bolus ?
BigDumbDinosaur
Posts: 9425 Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:
Post
by BigDumbDinosaur » Mon Aug 25, 2025 3:36 pm
From nibble->byte->mouthful?
I nearly choked on that.
That one is tied with Ed’s “sentence” suggestion for succinctness.
Paganini
Posts: 516 Joined: 18 Mar 2022
Post
by Paganini » Mon Aug 25, 2025 5:17 pm
I like 'segment,' but if you want something pedantically literal (and that also sounds sort of 'C-ish') "long double" or "double long" would fit the bill.
"The key is not to let the hardware sense any fear." - Radical Brad
BigDumbDinosaur
Posts: 9425 Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:
Post
by BigDumbDinosaur » Mon Aug 25, 2025 5:27 pm
I like 'segment,' but if you want something pedantically literal (and that also sounds sort of 'C-ish') "long double" or "double long" would fit the bill.
“Long double” in C refers to a particular floating point number size. I was looking for a general reference, one that doesn’t imply a particular sort of data type or structure.
I’m leaning toward “segment,” although it is x86-ish.
barnacle
Posts: 1831 Joined: 19 Jan 2004
Location: Potsdam, DE
Contact:
Post
by barnacle » Mon Aug 25, 2025 6:59 pm
Could always use int128_t...