Example: barber
8-bit Microcontroller Application Note

8-bit Microcontroller Application Note

Back to document page

If consecutive memory mapped addresses are accessed, the most efficient way to access them is to declare a constant pointer and add an displacement value to this off-set. The example below shows how to access memory mapped I/O this way. The generated assembly code for each instruction is shown in italic. /* Define the memory mapped addresses */

  Efficient, Efficient way

Download 8-bit Microcontroller Application Note


Information

Domain:

Source:

Link to this page:

Please notify us if you found a problem with this document:

Other abuse

Advertisement

Related search queries