On 01/07/18 11:49, Gareth's Downstairs Computer wrote:
> On 01/07/2018 11:42, The Natural Philosopher wrote:
>>
>> On INTEL you MUST have some assembler in a library at least to access
>> I/O registers, because I/O is not part of Cs understanding of
>> architecture..
>
> Certainly that is so for I/O accessed by instructions that are
> separate from memory access, but not true where I/O is memory
> addressed, such as was on the PDP11.
>
Welll that was what I said.
"So how does ARM handle peripheral hardware?"
I.e Does ARM have memory mapped IO?
> This was part of the original C thinking where a number
> could be recast as something else ...
>
> int *(65530), where my example of 65530 is intended as
> a memory based I/O address.
>
>
--
Truth welcomes investigation because truth knows investigation will lead
to converts. It is deception that uses all the other techniques.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|