Limited time offer 20% OFF StudySoup Subscription details

UM - ECE - Class Notes - Week 2

Created by: Maisy Notetaker Elite Notetaker

UM - ECE - Class Notes - Week 2

School: University of Miami
Department: Electrical Engineering
Course: Processors: Hardware, Software, and Interfacing
Term: Spring 2019
Tags:
Name: Microprocessors- Week 2
Description: Continuation of Assembly Language
Uploaded: 01/27/2019
This preview shows page 1 of a 2 page document. to view the rest of the content
background image Microprocessors Week 2  .equ   symbol, expression  //sets value of symbol to expression  ary: .word 0, 1, 2, 3, 4   // 20 bytes  .equ arysize, (. - ary)/4 //symbol arysize is defined as value of current address (.)   minus value of ary symbol divided by 4 (each word is 4) Register- place where you can store data on the processor  hold 32 bits of data  ARM architecture- 37 registers, 15 for users can store 37 32 bit numbers  Macros 
.macro
enum from=0, to=5  //macro enum puts sequence of numbers into memory  .long   \from  //to & from are upper/lower limits, don't need to initialize .if \to- \from enum  “(\from + 1)”, \to //calling macro enum and passing parameters .endif  //put quotations around parameter to avoid confusion w/ + .endm  This is equivalent to 
.long  0
//storing long values 0 through 5 in memory .long 1 
… 
.long  5 
—- 
Some CPUs font let you access every byte so you need to align Example: can only access byte 0 DCD= .word Word addressed- segmented in 32 bits Van Numen architecture- Data and instruction use are in the same memory  Harvard architecture- data and instruction separate in memory  Main Processor: Enhanced multiplier- to support multiplication, separate from ALU Register bank- all the registers R0-R15 Address 
(in Hex)
Byte 3 Btye 2 Byte 1 Byte 0 /0000 /0004 /0008

This is the end of the preview. Please to view the rest of the content
Join more than 18,000+ college students at University of Miami who use StudySoup to get ahead
2 Pages 39 Views 31 Unlocks
  • Better Grades Guarantee
  • 24/7 Homework help
  • Notes, Study Guides, Flashcards + More!
Join more than 18,000+ college students at University of Miami who use StudySoup to get ahead
School: University of Miami
Department: Electrical Engineering
Course: Processors: Hardware, Software, and Interfacing
Term: Spring 2019
Tags:
Name: Microprocessors- Week 2
Description: Continuation of Assembly Language
Uploaded: 01/27/2019
2 Pages 39 Views 31 Unlocks
  • Better Grades Guarantee
  • 24/7 Homework help
  • Notes, Study Guides, Flashcards + More!
Join StudySoup for FREE
Get Full Access to UM - Class Notes - Week 2
Join with Email
Already have an account? Login here
×
Log in to StudySoup
Get Full Access to UM - Class Notes - Week 2

Forgot password? Reset password here

Forgot password? Reset your password here

I don't want to reset my password

Need help? Contact support

Need an Account? Is not associated with an account
Sign up
We're here to help

Having trouble accessing your account? Let us help you, contact support at +1(510) 944-1054 or support@studysoup.com

Got it, thanks!
Password Reset Request Sent An email has been sent to the email address associated to your account. Follow the link in the email to reset your password. If you're having trouble finding our email please check your spam folder
Got it, thanks!
Already have an Account? Is already in use
Log in
Incorrect Password The password used to log in with this account is incorrect
Try Again

Forgot password? Reset it here