[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 6502 illegal opcodes questions



In article <e56rj1$7lo$1@merope.saaf.se>,
 pausch@saaf.se (Paul Schlyter) wrote:

> In article <1148544621.115246.248890@y43g2000cwc.googlegroups.com>,
> mdj <mdj.mdj@gmail.com> wrote:
[...]
> > The key concepts that are missing here are pointers, and more specifically,
> > the ability to perform arbitrary arithmetic on pointer types.
> 
> FORTRAN, Pascal and Ada lacks this too.
[...]

This is certainly false for Ada:

http://www.adapower.com/rm95.php

In particular, the standard package Interfaces.C.Pointers overloads the 
"+" and "-" operators for just this purpose.

http://www.adapower.com/rm95/RM-B-3-2.html

It is arguably false for many widely used flavors of Pascal including 
Object Pascal and Turbo Pascal.

Even Fortran has a non-standard extension for this:

http://gcc.gnu.org/onlinedocs/gfortran/Cray-pointers.html

-- 
John Matthews
jmatthews at wright dot edu
www dot wright dot edu/~john.matthews/