Nt1310 Unit 7 System Analysis

228 Words1 Page

Unit 7 Computer operating system discussion assignment For this week, there is a two-part DQ: 1. The Hack assembler is a two-pass assembler. Explain why there is a need for going twice over the code. It is couple of reasons why the Hack assembler is a two- pass assembler and why there is a need for going twice over the code. • Because labels might not so up in order (and frequently don’t) • a label can be defined anywhere in the program, be it the .text segment or the .data segment • A label used at instruction number I could be stored at instruction number i+10 For example let see the 1st Parse Assemble code () 2. There is a method named back patching that solves this issue with one pass only. Describe this

More about Nt1310 Unit 7 System Analysis

Open Document