Preview

embedded

Satisfactory Essays
Open Document
Open Document
1074 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
embedded
Module 3
68HC11 Addressing Modes

68HC11 Addressing Modes o Aims
To review 68HC11 data transfer instructions and applying the controller addressing modes

o Learning Outcomes
At the end of this module, students should be able to understand • Inherent Addressing Mode
• Immediate Addressing Mode
• Direct Addressing Mode
• Extended Addressing Mode
• Indexed Addressing Mode
• Relative Addressing Mode
20132014-II

2/Module 3

Addressing Modes

20132014-II

3/Module 3

Addressing Modes o The CPU can access data in various ways. The data ways. could be in a register, or in memory, or provided as value. an immediate value. These various ways of accessing data are called addressing modes

o The various addressing modes of a microprocessor are determined when it is designed, and therefore cannot be changed by the programmer
20132014-II

4/Module 3

Inherent Addressing Mode o In this addressing mode all the information required for execution is contained in the instruction o No other operand is required o Examples:






CLRA
ABA
INCB
INX
TAB

; Clear register A; ACCA ← $00
; ACCA ← ACCA + ACCB
; ACCB ← ACCB + 1
; IX ← IX + 1
; ACCB ← ACCA
20132014-II

5/Module 3

Immediate Addressing Mode o In immediate addressing the instruction itself contains the data to be loaded into the destination o Examples:






LDAA
ADDA
LDD
LDAB
LDX

#15
#$15
#1000
#’C’
#$1234

20132014-II

6/Module 3

Direct Addressing Mode o In direct addressing the least significant byte of the 16-bit address of the operand is in the instruction o The high order byte is taken to be $00. This is how you access the
256 bytes of RAM. (could also use extended)

20132014-II

7/Module 3

Extended Addressing Mode o In extended addressing the address of the data is a part of the instruction o The address is 16-bit size, thus can access any locations

20132014-II

8/Module 3

Indexed

You May Also Find These Documents Helpful

  • Satisfactory Essays

    SD1230 Lab 1

    • 239 Words
    • 2 Pages

    1. What is the highest number that can be stored in a byte? – 8 bytes as 11111111 or 255 in decimal.…

    • 239 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    Nt1330 Unit 3 Assignment 1

    • 2019 Words
    • 9 Pages

    • Your computer performs a bitwise logical AND operation between the address and…

    • 2019 Words
    • 9 Pages
    Powerful Essays
  • Powerful Essays

    En1320 Unit 1 Research Paper 1

    • 27742 Words
    • 111 Pages

    computation are stored in registers R1 and R2, and the result of the computation is stored…

    • 27742 Words
    • 111 Pages
    Powerful Essays
  • Good Essays

    etched

    • 686 Words
    • 3 Pages

    Q: Compare and contrast the variety of amino acids 
with that of monosaccharides and fatty acids. Which group exhibits the greatest structural variability?…

    • 686 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    CS305 Final Exam Questions

    • 1044 Words
    • 6 Pages

    a. It decrements the stack pointer (by 2 or 4) and copies the operand into the stack at the location pointed to by the stack pointer.…

    • 1044 Words
    • 6 Pages
    Satisfactory Essays
  • Satisfactory Essays

    cis121 chapter 2 and 3

    • 993 Words
    • 6 Pages

    A ____ read is an added statement that gets the first input value in a program.…

    • 993 Words
    • 6 Pages
    Satisfactory Essays
  • Good Essays

    Hidden

    • 697 Words
    • 3 Pages

    The essay “He Would Never Hurt a Fly: War Criminals on Trial in The Hague”…

    • 697 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    Homework

    • 343 Words
    • 2 Pages

    20. What is the difference between the EEPROM and data RAM space in the HCS12?…

    • 343 Words
    • 2 Pages
    Satisfactory Essays
  • Better Essays

    smashed

    • 3147 Words
    • 8 Pages

    The memoir I read is about a young woman, Koren Zailckas, who, over the course of growing up, not only experimented with alcohol, but also went through the whole cycle of alcohol abuse. She shares her experiences in order to present that this can be the case with anyone and evolves over time, not all at once. She begins the story by talking about one of her childhood friends, Natalie, with whom presented Koren’s first sip of alcohol. She describes Natalie as one of those friends who always was the first to do things, and to encourage others to jump on board. After trying Southern Comfort at the young age of 14, she realizes that this alcohol stuff makes the inhibitions, which she struggles with so often, disappear—She loves this. She wants to drink more after this time, but Natalie goes away to a boarding school, and Koren’s source of alcohol goes right with her. She goes on to talk about her drinking experiences in high school, particularly at age 16 when she requires her stomach to be pumped after a party. She went on to college where she stayed in the party scene, joined a sorority, and continued her bad habits. She had many negative experiences including sexual encounters, fights, and problems with relationships, all while under the influence of heavy alcohol. She tries quitting a few times unsuccessfully, even moving away from the party scene. She is finally able to quit at the age of 23 after realizing how much it cost her.…

    • 3147 Words
    • 8 Pages
    Better Essays
  • Good Essays

    This can be identified as a file because it begins with a (-). The first 3 bytes of this line represent the user, which is the owner. The User in this case is (rwx), so in this file the user can read, write, and execute to the file. The second 3 bytes represent the Group. The Group in this case…

    • 1336 Words
    • 6 Pages
    Good Essays
  • Good Essays

    Attachment

    • 723 Words
    • 3 Pages

    Attachment is a deep and enduring emotional bond that connects one person to another across time and space (Ainsworth, 1973; Bowlby, 1969).…

    • 723 Words
    • 3 Pages
    Good Essays
  • Good Essays

    attachment

    • 4847 Words
    • 20 Pages

    Attachment-based therapy is a phrase intended to apply to interventions or approaches based on attachment theory, originated by John Bowlby. These range from individual therapeutic approaches to public health programs to interventions specifically designed for foster carers.[1] Although attachment theory has become a major scientific theory of socioemotional development with one of the broadest, deepest research lines in modern psychology, attachment theory has, until recently, been less clinically applied than theories with far less empirical support. This may be partly due to lack of attention paid to clinical application by Bowlby himself and partly due to broader meanings of the word 'attachment' used amongst practitioners. It may also be partly due to the mistaken association of attachment theory with the pseudo-scientific interventions misleadingly known as attachment therapy.[2] The approaches set out below are examples of recent clinical applications of attachment theory by mainstream attachment theorists and clinicians and are aimed at infants or children who have developed or are at risk of developing less desirable, insecure attachment styles or an attachment disorder.…

    • 4847 Words
    • 20 Pages
    Good Essays
  • Good Essays

    Attachment

    • 683 Words
    • 3 Pages

    Attachment is an emotional bond to another person. Attachment is very important in an early child development. Attachment has become an important topic in the field of childcare., mental health treatment, parenting and education. Attachment help the child to gain his full intellectual potential; sort out what he perceives; logical thinking; development of a conscience; cope with stress and frustration and many other aspects of everyday living. Attachment is the most critical thing that happens in infancy other than meeting the baby’s physical needs. John Bowlby, Mary Ainsworth and Margaret Mahler were psychologists who helped us to better understand how attachment is important in early life development and how these early childhood attachments can possibly impact adult behaviors later in life.…

    • 683 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    links

    • 93 Words
    • 3 Pages

    http://kshownow.asia/index.php/board,32.0.html The Return of Superman https://www.youtube.com/playlist?list=PLMf7VY8La5RFIeOyIZ5IOm68WVb7c2dyT http://library.murdoch.edu.au/ http://webapps.kaplan.com.sg/schedule/#/ https://web.whatsapp.com/ Korea https://www.shopback.sg/blog/post/the-seoul-travelogue-or-how-to-spend-a-week-in-seoul-under-750-all-inclusive?utm=FB https://www.airbnb.com.sg/ Hair styling https://www.youtube.com/watch?v=6q39g1Gf_8Q…

    • 93 Words
    • 3 Pages
    Satisfactory Essays
  • Best Essays

    Embodiment

    • 3084 Words
    • 13 Pages

    Evaluate the proposition that society has no right to call itself sane with reference to the role of anorexia and bulimia nervosa?…

    • 3084 Words
    • 13 Pages
    Best Essays