Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 1. Memory, Registers and Simple ... > "Arithmetic" Project: Memory Layout ...

1.3. "Arithmetic" Project: Memory Layout and Registers

For our project we have two memory addresses (locations) that we call "a" and "b". We can think about "a" and "b" as names of their respective addresses (locations). Now we introduce a special notation where [a] means contents at the memory address (location) "a". If we use C or C++ language to write our project then we declare and define memory locations "a" and "b" as:

static int a, b;


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint