Lecture Title: Dept. of Computer Science Faculty of Science and Technology
Lecture Title: Dept. of Computer Science Faculty of Science and Technology
1. Learn Syntax
2. Variable declarations
3. Introduction of basic data movement
4. Program organization: Code, Data and stack
Assembly Language Syntax
• Assembly language is not case sensitive, however, we use
upper case to differentiate code from rest of the text.
Statements:
• Programs consist of statements (one per line)
• Each statement can be any of following types:
• Instruction that are translated into machine code
• Assembler directives that instruct the assemble to
perform some specific task:
Allocating memory space for variables
Creating procedure
Fields
Which of the following are legal numbers? if they are legal tell
whether they are Binary, decimal or hex numbers?
246
246h
1001
1,001
2A3h
FFFEh
0Ah
Bh
1110b
Variables