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
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 6. Pointers to Memory > Registers Revisited

6.3. Registers Revisited

EAX, EBX, ECX, EDX registers can be used as pointers to memory. EAX and EDX registers contain the multiplication result after executing IMUL instruction. ECX register is often used as a loop counter, E(Counter)X, in assembly language corresponding to simple loops in C and C++ code:

for (int i = 0; i < N ; ++i)


  

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