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


Groups > comp.lang.python > #86730

Re: Python Worst Practices

Date 2015-03-02 12:38 +0000
From MRAB <python@mrabarnett.plus.com>
Subject Re: Python Worst Practices
References (6 earlier) <54f274bb$0$13011$c3e8da3$5496439d@news.astraweb.com> <CAPTjJmoRiTb+gL8BVKHLzGCfPkjXjX1_jU_Osu2FYkUxjC0Aqg@mail.gmail.com> <mif7fadg0g1b276shsagrg2urvonfbbnd8@4ax.com> <54F3C3FF.3040608@mrabarnett.plus.com> <54F3EBF5.3030701@davea.name>
Newsgroups comp.lang.python
Message-ID <mailman.35.1425299940.13471.python-list@python.org> (permalink)

Show all headers | View raw


On 2015-03-02 04:49, Dave Angel wrote:
> On 03/01/2015 08:59 PM, MRAB wrote:
>> On 2015-03-02 01:37, Dennis Lee Bieber wrote
>>>
>>>     You'd be able to run it on a TI99/4 (in which the BASIC interpreter,
>>> itself, was run on an interpreter... nothing like taking the first
>>> "16-bit"
>>> home computer and shackling it with an interpreted language that was
>>> run on
>>> an interpreted language)
>>>
>> The "16-bit" CPU had a 16-bit address bus (64K address space). If you
>> were going to switch from an 8-bit processor to a 16-bit processor, one
>> of the pluses you'd be looking for would the ability to directly
>> address more than 64K.
>>
>
> The 16 bit address bus permitted addressing of 64k words.  On most
> processors, that was 64k bytes, though I know one Harris had no bytes,
> but every memory access was 16 bits.  It therefore had the equivalent of
> 128k bytes.  Likewise I believe some of the DEC and DG minis had 128k
> bytes of addressability.
>
I have (or had, not sure where it is!) a manual of the TMS9900
processor, and I'm sure it addresses 64k _bytes_.

Wikipedia says "65,536 bytes or 32,768 words".

> Usually, the term 8bit processor was referring to the size of the
> register(s), not the address bus.  All the 8 bit micro-processors had 16
> bit address buses.  In fact, 4 bit processors generally had 12 to 16 bit
> address buses as well.  So a 4 bit processor with a 16 bit address bus
> could address 32k bytes, a half byte (a nybble) at a time).
>
> The IBM PC's 8088 had an 8 bit data-bus and 20 address lines.  But they
> called it a 16bit processor, to try to distinguish it from 8 bit
> processors like the 8080.  Anyway, it was code compatible with the 8086,
> which really did have a 16bit data bus and 20 bit address bus.
>

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Re: Python Worst Practices Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-28 15:33 +0000
  Re: Python Worst Practices BartC <bc@freeuk.com> - 2015-02-28 17:55 +0000
    Re: Python Worst Practices Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-02-28 18:38 +0000
    Re: Python Worst Practices Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2015-03-01 13:08 +1100
      Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-03-01 13:43 +1100
      Re: Python Worst Practices BartC <bc@freeuk.com> - 2015-03-01 12:47 +0000
      Re: Python Worst Practices Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-03-01 20:37 -0500
      Re: Python Worst Practices MRAB <python@mrabarnett.plus.com> - 2015-03-02 01:59 +0000
      Re: Python Worst Practices Dave Angel <davea@davea.name> - 2015-03-01 23:49 -0500
      Re: Python Worst Practices MRAB <python@mrabarnett.plus.com> - 2015-03-02 12:38 +0000
      Re: Python Worst Practices Dave Angel <davea@davea.name> - 2015-03-02 08:12 -0500
      Re: Python Worst Practices Jonas Wielicki <jonas@wielicki.name> - 2015-03-06 07:58 +0100
      Re: Python Worst Practices Chris Angelico <rosuav@gmail.com> - 2015-03-06 21:09 +1100
        Re: Python Worst Practices Mario Figueiredo <marfig@gmail.com> - 2015-03-07 16:11 +0100

csiph-web