From e8924615d024bc9d716edaee40a9524c8b839c43 Mon Sep 17 00:00:00 2001 From: John Winans Date: Sat, 12 May 2018 17:31:17 -0500 Subject: [PATCH] Add thoughts on how elements chapter might start. --- book/elements/chapter.tex | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/book/elements/chapter.tex b/book/elements/chapter.tex index a7883bc..39ab41e 100644 --- a/book/elements/chapter.tex +++ b/book/elements/chapter.tex @@ -1,6 +1,21 @@ \chapter{The Elements of a Assembly Language Program} \label{chapter:elements} +\section{Assembly Language Statements} + +Introduce the assembly language grammar. +Statement = 1 line of text containing an instruction or directive. + +Instruction = label, mnemonic, operands, comment. + +Directive = Used to control the operation of the assembler. + +\section{Memory Layout} + +Is this a good place to introduce the text, data, bss, heap and stack regions? + +Or does that belong in a new section/chapter that discusses addressing modes? + %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \section{A Sample Program Source Listing}