There's more...

When we discussed NASM earlier in this chapter, I mentioned there are additional features available that are NASM-specific features and not necessarily a part of IA-32. One change we could make to the code in this recipe is to make another section called .data below our code and use dbdddwdq, and dt with a label to store the characters that make up the Hello, World! NUL string. This functionality is similar to a variable in other programming languages—but remember, it is NASM-specific. If you haven't done so already, you can learn how to use this functionality in NASM by reading the appropriate section of the manual: https://www.nasm.us/doc/nasmdoc3.html#section-3.2.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.223.21.5