On 05/02/18 15:03, Jon Perryman wrote:
C has functions to reduce complication. C++ and other OOP languages
have objects. Assembler can easily do this thru macro's and it has
other tools to greatly reduce complexity.
How do you define a function using assembler macros?
How do you define objects? In particular, how do you stop
the programmer from taking the address of an object
and examining/modifying the object's internals
without using the defined interface?
--
Martin
Dr Martin Ward | Email: [email protected] | http://www.gkc.org.uk
G.K.Chesterton site: http://www.gkc.org.uk/gkc | Erdos number: 4