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.
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.
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|