[geeks] arcade collectors?
Brian Hechinger
geeks at sunhelp.org
Fri Jun 29 13:08:13 CDT 2001
On Fri, Jun 29, 2001 at 01:55:05PM -0400, Joshua D. Boyd wrote:
>
> Seems to me that MAXINT for an 8bit CPU should be 127 or 255. Otherwise,
> it is usuing larger than 8bit registers, and that would mean that it
> wasn't really an 8bit CPU (IMO). But, I've never tried hacking anything
> less than a 16bit CPU (8088 to be specific).
hmm, should i research this or talk out of my ass? i'll talk outta my ass. :0
<mode="talk out of ass">
i'm not hardware pro or nothin, but do your registers need to be INT wide?
why not use 16bit INTs and 8bit regs, you only put stuff in regs if a) they
are 8 bit and b) you have an immense need to. besides, if this thing is 6502
based, i thought regs were implemented in RAM, so you could therotetically have
16bit regs on an 8bit CPU.
or you could fake 16bit INTs in software, but that would probably cause
obnoxiously slow performance.
i could swear that most machine have instruction and mem sizes that differ, for
example 32-bit CPU with 64-bit mem addressing, could you actually do 64-bit
INTs on something like that?
</mode>
anyway, tear that apart and see what you come up with.
-brian
More information about the geeks
mailing list