The 8051 Microcontroller and Embedded

(lily) #1
Department of Computer Scien

ce and Information Engineering

National Cheng Kung University, TAIWAN
HANEL

Structure of Assembly Language


(^8051) ASSEMBLY


PROGRAMMING


‰Assembly language instruction includes


¾a mnemonic


(abbreviation easy to remember)


ƒthe commands to the CPU, telling it what those to do with those items


¾optionally followed by one or two operands


ƒthe data items being manipulated


‰A given Assembly language program is a series of statements, or lines


¾Assembly language instructions


ƒTell the CPU what to do


¾Directives (or pseudo-instructions)


ƒGive directions to the assembler

Free download pdf