Objective Data Memory Map Learn the basic structure of an assembly program, how to read the 8-bit instruction set reference and Address Offset Data Ob00001000 Ob10010011 |Ob00000101 become familiar with a few commands. 1. Lab 4 Task 1: Walk through the assembly program below and fill out the data memory map (right). If a value changes during the program, you only need to 7 record the final value. Unless otherwise stated all 8. memory locations contain a value of 0. 10 11 12 :Program for task 1 :Definitions .EQU myData=0x21 .DEF config=R4 13 14 15 Ob10100101 Ob10111001 16 17 :Main 18 .CSEG 19 .ORG Ox0000 20 LDI R16, Ob00001000 21 MOV RO, R16 LDI R16, Ob10010011 22 23 MOV R1, R16 24 LDI R16, Ob01010101 ANDI R16, Ob00001111 MOV R2, R16 25 26 ORI R16, Ob10100101 27 LDI R17, 20 28 ADD R17, R16 29 MOV R3, R16 30 31 MOV config. R17 OUT O, R3 CBI 0,1 32 33 IN R5, 0 34 STS myData, RO SBI 1, 6 SBI 1,7 LDS R6, myData 35 3 36 4 37 38
Objective Data Memory Map Learn the basic structure of an assembly program, how to read the 8-bit instruction set reference and Address Offset Data Ob00001000 Ob10010011 |Ob00000101 become familiar with a few commands. 1. Lab 4 Task 1: Walk through the assembly program below and fill out the data memory map (right). If a value changes during the program, you only need to 7 record the final value. Unless otherwise stated all 8. memory locations contain a value of 0. 10 11 12 :Program for task 1 :Definitions .EQU myData=0x21 .DEF config=R4 13 14 15 Ob10100101 Ob10111001 16 17 :Main 18 .CSEG 19 .ORG Ox0000 20 LDI R16, Ob00001000 21 MOV RO, R16 LDI R16, Ob10010011 22 23 MOV R1, R16 24 LDI R16, Ob01010101 ANDI R16, Ob00001111 MOV R2, R16 25 26 ORI R16, Ob10100101 27 LDI R17, 20 28 ADD R17, R16 29 MOV R3, R16 30 31 MOV config. R17 OUT O, R3 CBI 0,1 32 33 IN R5, 0 34 STS myData, RO SBI 1, 6 SBI 1,7 LDS R6, myData 35 3 36 4 37 38
Computer Networking: A Top-Down Approach (7th Edition)
7th Edition
ISBN:9780133594140
Author:James Kurose, Keith Ross
Publisher:James Kurose, Keith Ross
Chapter1: Computer Networks And The Internet
Section: Chapter Questions
Problem R1RQ: What is the difference between a host and an end system? List several different types of end...
Related questions
Question
Expert Solution
This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
This is a popular solution!
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 2 images
Recommended textbooks for you
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Computer Networking: A Top-Down Approach (7th Edi…
Computer Engineering
ISBN:
9780133594140
Author:
James Kurose, Keith Ross
Publisher:
PEARSON
Computer Organization and Design MIPS Edition, Fi…
Computer Engineering
ISBN:
9780124077263
Author:
David A. Patterson, John L. Hennessy
Publisher:
Elsevier Science
Network+ Guide to Networks (MindTap Course List)
Computer Engineering
ISBN:
9781337569330
Author:
Jill West, Tamara Dean, Jean Andrews
Publisher:
Cengage Learning
Concepts of Database Management
Computer Engineering
ISBN:
9781337093422
Author:
Joy L. Starks, Philip J. Pratt, Mary Z. Last
Publisher:
Cengage Learning
Prelude to Programming
Computer Engineering
ISBN:
9780133750423
Author:
VENIT, Stewart
Publisher:
Pearson Education
Sc Business Data Communications and Networking, T…
Computer Engineering
ISBN:
9781119368830
Author:
FITZGERALD
Publisher:
WILEY