CSCI 1120 Lecture 27: CSCI 1120 Midterm Review
CSCI 1120 verified notes
27/39View all
Document Summary
Assembly language is low-level language, closely related to the hardware. High level languages are closest to english and other natural languages. It strictly uses binary codes, and cannot be as complex as is required without being complicated. We do not program in machine code because: all values in memory are referenced exclusively by memory address. Insertion and deletion require a change in the address anywhere in the code base, which is extremely difficult. All instruction locations are coded as a sequence in memory: data is e(cid:374)(cid:272)oded usi(cid:374)g u(cid:374)i(cid:374)tuiti(cid:448)e s(cid:272)he(cid:373)es su(cid:272)h as t(cid:449)o"s (cid:272)o(cid:373)pli(cid:373)e(cid:374)t a(cid:374)d floati(cid:374)g poi(cid:374)t. difficult to create data at run time. An assembler is a computer program which interprets software programs written in assembly language and machine language. Sometimes referred to as the compiler of assembly language. i. e. , an assembler is to assembly language as a compiler is to programming languages. Assembly language has four parts to it.