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

    2640 U3 A1

    • 292 Words
    • 2 Pages

    For a network address, what does the host portion of the address appear as in binary representation?…

    • 292 Words
    • 2 Pages
    Satisfactory Essays
  • Powerful Essays

    The frame’s destination address of a broadcast frame is a value of all binary 0s.…

    • 817 Words
    • 4 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
  • Better Essays

    Nt1310 Unit 1 Assignment

    • 1994 Words
    • 8 Pages

    For example, the capital letter A is ASCII character 65, the numeral 2 is ASCII 50, the character} is ASCII 125 and the metacharacter carriage return is ASCII 13. Systems based on ASCII use seven bits to represent these values digitally. In contrast, most computers store data in memory organized in eight-bit bytes. Files that contain machine-executable code and non-textual data typically contain all 256 possible eight-bit byte values. Many computer programs came to rely on this distinction between seven-bit text and eight-bit binary data, and would not function properly if non-ASCII characters appeared in data that was expected to include only ASCII text. For example, if the value of the eighth bit is not preserved, the program might interpret a byte value above 127 as a flag telling it to perform some function. It is often desirable, however, to be able to send non-textual data through text-based systems, such as when one might attach an image file to an e-mail message. To accomplish this, the data is encoded in some way, such that eight-bit data is encoded into seven-bit ASCII characters (generally using only alphanumeric and punctuation characters—the ASCII printable characters). Upon safe arrival at its destination, it is then…

    • 1994 Words
    • 8 Pages
    Better 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

    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

    • 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
  • 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
  • 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