O'Reilly logo

Linux Assembly Language Programming by BOB NEVELN

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. MEMORY

In chapter 4, section 4.2 we noted that the MOV command can be used to transfer data to and from memory just as IN and OUT can be used to transfer data to and from I/O devices. For the programmer, using MOV to access memory is simple: just enclose an address in brackets. In neither DOS nor Linux, however, are the addresses enclosed by brackets actual memory addresses. In DOS an address processing mechanism called segmentation is used, and in Linux another one called paging is used. But these mechanisms can be circumvented. In this chapter we make the simplifying assumption that this is done so that addresses enclosed in brackets are actual hardware addresses. Programs written on this basis run under Edlinas. Segmentation and ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required