comparison docs/lyx/asm.lyx~ @ 42:792da050d8c4 tip

more dox
author james <jb302@eecs.qmul.ac.uk>
date Tue, 22 Apr 2014 14:25:14 +0100
parents a9bf262f557b
children
comparison
equal deleted inserted replaced
41:a9bf262f557b 42:792da050d8c4
67 Assembler Design 67 Assembler Design
68 \end_layout 68 \end_layout
69 69
70 \begin_layout Standard 70 \begin_layout Standard
71 The assembler will take assembly source code as input and produce two output 71 The assembler will take assembly source code as input and produce two output
72 files: A binary executable and a debug file. 72 files: a binary executable and a debug file.
73 \end_layout 73 \end_layout
74 74
75 \begin_layout Standard 75 \begin_layout Standard
76 \begin_inset ERT 76 \begin_inset ERT
77 status open 77 status open
218 This file will essentially be the plain text source side by side with the 218 This file will essentially be the plain text source side by side with the
219 binary machine code and address for each instruction (represented as hexadecima 219 binary machine code and address for each instruction (represented as hexadecima
220 l for greater readability). 220 l for greater readability).
221 This file will provide the information needed for setting break pointers 221 This file will provide the information needed for setting break pointers
222 with the debugger later, it will also be generally useful for debugging 222 with the debugger later, it will also be generally useful for debugging
223 programs written in the assembler, and the assembler it self. 223 programs written in the assembler, and the assembler itself.
224 \end_layout 224 \end_layout
225 225
226 \begin_layout Standard 226 \begin_layout Standard
227 \begin_inset Newpage pagebreak 227 \begin_inset Newpage pagebreak
228 \end_inset 228 \end_inset
569 \begin_layout Standard 569 \begin_layout Standard
570 The following sections details the design and behavior of the assembler. 570 The following sections details the design and behavior of the assembler.
571 However it must be noted that these are abstract and high level descriptions 571 However it must be noted that these are abstract and high level descriptions
572 that do not fully explain minor routines, but give an overview of the entire 572 that do not fully explain minor routines, but give an overview of the entire
573 process. 573 process.
574 The full commented source code is provided with the supporting and should 574 The full commented source code is provided with the Supporting Material
575 be referenced for a deeper understanding of the program's operation. 575 and should be referenced for a deeper understanding of the program's operation.
576 576
577 \end_layout 577 \end_layout
578 578
579 \begin_layout Standard 579 \begin_layout Standard
580 \begin_inset Newpage pagebreak 580 \begin_inset Newpage pagebreak
1706 1706
1707 \begin_layout Section 1707 \begin_layout Section
1708 Assembler Testing 1708 Assembler Testing
1709 \end_layout 1709 \end_layout
1710 1710
1711 \begin_layout Standard
1712 The assembler was tested by assembling the entire instruction table, while
1713 at the same time testing labels and directives.
1714 The test file was assembled and then the binary and .dsm files were inspected
1715 manually by checking their size and content.
1716 None of this testing is automated and files are inspected by hand.
1717 The test files and results can be found in the Supporting Material.
1718 \end_layout
1719
1711 \end_body 1720 \end_body
1712 \end_document 1721 \end_document