03-09-2012, 10:31 AM
PRESENTATION ON EMBEDDED SYSTEM
EMBEDDED.pptx (Size: 115.1 KB / Downloads: 30)
INTRODUCTION
Embedded system is an arrangement or combination of hardware and software which performs a specific task without any help of human efforts.
8051 Architecture
Programmer’s View
Basics of Assembly
Register Set
Memory map
Instruction Set
Pinout
Current / Voltage requirements
Register Set – Accumulator A, ACC
Commonly used for mov and arithmetic
Implicitly used in opcodes or referred to as
ACC or by its SFR address 0E0H
Example of Implicit reference
Instruction : mov A, R0 (copy contents of R0 to A)
Opcode : E8
The Accumulator is implicitly coded in the opcode
Explicit reference to Accumulator
Instruction : push ACC
Opcode: C0 E0
Assembly Design Flow
Create the assembly source file test.asm
as51 test.asm
Assembler produces error and code list in test.lst
If no errors, assembler produces .obj file