Embedded systems interfacing for engineers using the Freescale HCS08 microcontroller I assembly language programming /

The vast majority of computers in use today are encapsulated within other systems. In contrast to general-purpose computers that run an endless selection of software, these embedded computers are often programmed for a very specific, low-level and often mundane purpose. Low-end microcontrollers, cos...

Full description

Bibliographic Details
Main Author: Summerville, Douglas H.
Format: Electronic
Language:English
Published: San Rafael, Calif. (1537 Fourth Street, San Rafael, CA 94901 USA) : Morgan & Claypool Publishers, c2009.
Series:Synthesis lectures on digital circuits and systems (Online), # 20.
Subjects:
Online Access:Abstract with links to full text
Table of Contents:
  • Introduction to microcomputer organization
  • Data and information
  • Organization of digital computers
  • Central processing unit
  • Memory
  • Input and output
  • Bus
  • Microprocessors, microcomputers and microcontrollers
  • Data representation
  • Codes and precision
  • Prefix notation
  • Hexadecimal representation
  • Memory maps
  • Commonly used binary codes
  • Unsigned integer code
  • Two's complement signed integer code
  • ASCII character code
  • Fixed-point binary code
  • Binary coded decimal
  • Addition and subtraction of positional number codes
  • Chapter problems
  • Programmer's model of the HCS08 CPU
  • Introduction
  • Registers
  • Memory
  • Addressing modes
  • Inherent addressing
  • Immediate addressing
  • Direct and extended addressing
  • Indexed addressing
  • Indexed with post-increment addressing
  • Offset indexed addressing
  • 8B offset indexed with post-increment addressing
  • Stack pointer offset
  • Relative addressing
  • Memory-to-memory MOV addressing modes
  • Data transfer operations
  • Bit manipulation operations
  • Arithmetic and logic operations
  • Masking
  • Extended arithmetic
  • Shift and rotate
  • Stack operations
  • Compare and branch operations
  • Interpretation of branch conditions
  • Loop primitive instructions
  • Miscellaneous instructions
  • Chapter problems
  • HCS08 assembly language programming
  • Assembler structure
  • Machine language encoding
  • Assembly language file format
  • Assembler processing
  • Listing file
  • Object file: S19 file format
  • Organizing program and data areas
  • Creating and accessing variables
  • Tables, arrays and data structures
  • Implementing mathematical functions via tables
  • Programming common control structures
  • Selection/decision structures
  • Loop structures
  • Subroutines
  • Register saving
  • Stack variables
  • Passing parameters and returning results
  • Analysis of code size and execution time
  • Chapter problems
  • Biography.