New User Special Price Expires in

Let's log you in.

Sign in with Facebook


Don't have a StudySoup account? Create one here!


Create a StudySoup account

Be part of our community, it's free to join!

Sign up with Facebook


Create your account
By creating an account you agree to StudySoup's terms and conditions and privacy policy

Already have a StudySoup account? Login here

CS 2200 Week 2 Notes

by: David Meyer

CS 2200 Week 2 Notes CS 2200 A3

David Meyer

GPA 3.8

Preview These Notes for FREE

Get a free preview of these Notes, just enter your email below.

Unlock Preview
Unlock Preview

Preview these materials now for free

Why put in your email? Get access to more of this material and other relevant free materials for your school

View Preview

About this Document

We covered more ISA topics including different conventions, word size, etc. We also started talking about different topics related to ISA's and assembly including unaligned access.
Systems and Networks
Tom Conte
Class Notes
25 ?




Popular in Systems and Networks

Popular in Department

This 3 page Class Notes was uploaded by David Meyer on Saturday September 3, 2016. The Class Notes belongs to CS 2200 A3 at Georgia Institute of Technology - Main Campus taught by Tom Conte in Fall 2016. Since its upload, it has received 16 views.


Reviews for CS 2200 Week 2 Notes


Report this Material


What is Karma?


Karma is the currency of StudySoup.

You can buy or earn more Karma at anytime and redeem it for class notes, study guides, flashcards, and more!

Date Created: 09/03/16
● ISA view point  ○ Byte  ○ “Word” wordsize  ○ Memory address  ■ LC­3: 16b  ■ Ours: 32b  ○ Addressability  ■ 1 byte  ● Are we getting AABBCCDD? ­> Big Endian  ● OR DDCCBBAA? ­> Little Endian  ○ All from Xinu      x1000  AA  BB  CC  DD  x1004  EE  FF  12  34  x1008          x100c            ● Unaligned Access  ○ Add shift and realigning   ○ Cause an error to occur  ○ Compiler will protect you because the assembly programmer wrote it to  ● Control Flow    Int a[], b[];  For (i = 0; i < N; i++) {  B[i] = a[i] +4;  }    A is in R1  B is in R2  I is in R3    ISA Changes: LB for load byte, LW for load word, and LH for load half word    SHL R4, R3, 2  ADD R4, R1, R4  LW R5, 0(R4)    ● New Addressing mode: base + index  ○ LW R5, R3(R1)  ● Control flow    If (x != 0) {  Y = y+3;  }  y= y+2;    Assembly:    BEQ R1, 0, label  ADDI R2, R2, 3  Label  ADDI R2, R2, 2    ● Unconditional vs Conditional  ○ J<address> PC <­ <address>  ○ Absolute addressing: using the pc address  ○ Relative addressing: using an offset  ● Switch statements  ○ Great in assembly because you can create a Jump Table and then is k is in R1:  ■ LW R3, R1(R5)  ■ J R3  ● LC­2200  ○ 32­bit  ○ 16 registers  ○ Little Endian  ○ Fixed Length Instructions  ■   R­type  Opcode  RegX  RegY  Reserved  RegZ  I­type  Opcode  RegX  RegY  Signed Immed.  J­type  Opcode  RegX  RegY  Reserved  O­type  Opcode  Reserved  ○ Rtype  ■ Add, nand  ○ Itype  ■ Addi, lw, sw, beq  ○ Jtype  ■ jalr(function calls)  ○ O­type  ■ Halt  ○   Register Number  Alt Code  Description  $0  $zero  32 bits of constant 0  $1  $at  Assembler  $2  $v0  Return value  $3­$5  $a0­$a2  Arguments to function  $6­$8  $t0­$t2  Temps  $9­$11  $s0­$s2  Saved gen purpose regs  $12  $k0  OS  $13  $sp  Stack pointer  $14  $fp  Frame pointer  $15  $ra  Return address      


Buy Material

Are you sure you want to buy this material for

25 Karma

Buy Material

BOOM! Enjoy Your Free Notes!

We've added these Notes to your profile, click here to view them now.


You're already Subscribed!

Looks like you've already subscribed to StudySoup, you won't need to purchase another subscription to get this material. To access this material simply click 'View Full Document'

Why people love StudySoup

Jim McGreen Ohio University

"Knowing I can count on the Elite Notetaker in my class allows me to focus on what the professor is saying instead of just scribbling notes the whole time and falling behind."

Janice Dongeun University of Washington

"I used the money I made selling my notes & study guides to pay for spring break in Olympia, Washington...which was Sweet!"

Bentley McCaw University of Florida

"I was shooting for a perfect 4.0 GPA this semester. Having StudySoup as a study aid was critical to helping me achieve my goal...and I nailed it!"


"Their 'Elite Notetakers' are making over $1,200/month in sales by creating high quality content that helps their classmates in a time of need."

Become an Elite Notetaker and start selling your notes online!

Refund Policy


All subscriptions to StudySoup are paid in full at the time of subscribing. To change your credit card information or to cancel your subscription, go to "Edit Settings". All credit card information will be available there. If you should decide to cancel your subscription, it will continue to be valid until the next payment period, as all payments for the current period were made in advance. For special circumstances, please email


StudySoup has more than 1 million course-specific study resources to help students study smarter. If you’re having trouble finding what you’re looking for, our customer support team can help you find what you need! Feel free to contact them here:

Recurring Subscriptions: If you have canceled your recurring subscription on the day of renewal and have not downloaded any documents, you may request a refund by submitting an email to

Satisfaction Guarantee: If you’re not satisfied with your subscription, you can contact us for further help. Contact must be made within 3 business days of your subscription purchase and your refund request will be subject for review.

Please Note: Refunds can never be provided more than 30 days after the initial purchase date regardless of your activity on the site.