Docsity
Docsity

Prepare for your exams
Prepare for your exams

Study with the several resources on Docsity


Earn points to download
Earn points to download

Earn points by helping other students or get them with a premium plan


Guidelines and tips
Guidelines and tips

CS2230 Midterm Study Guide, Study Guides, Projects, Research of Computer Science

Study guide for the midterm exam.

Typology: Study Guides, Projects, Research

2021/2022

Uploaded on 03/17/2023

wishywallow012
wishywallow012 🇺🇸

1 document

1 / 2

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
CS2230 Study Guide
8-bit Hexadecimal Addition with CPU Flags (Practice, press " Run")
Decimal to Different Base Conversion
- Divide and modulo Algorithm
- Mask and Shift Algorithm
• Bitwise Operations in C and Assembly (~,&,|,^,<<,>>)
- Bitwise NOT
- Bitwise AND
- Bitwise Or
- Bitwise XOR
- Bitwise Left Shift
- Bitwise Right Shift
• Steps of compilation
1. Pre-processing
2. Compilation
3. Assembly
4. Linking
• Components of a CPU and Their Operation (Crash Course Computer Science #7)
•Control Unit
• Arithmetic Logic Unit
• Registers
• Phases of CPU Operation
1) ([Ff]etch)
2) ([Dd]ecod)
3) ([Ee]execute)
• Character Arrays/Buffers
• Characters Are Just Numbers
• Writing a Simple C Function
• All Vocabulary on the “MSP430 Registers” Slide Deck
pf2

Partial preview of the text

Download CS2230 Midterm Study Guide and more Study Guides, Projects, Research Computer Science in PDF only on Docsity!

CS2230 Study Guide

8 - bit Hexadecimal Addition with CPU Flags (Practice, press " ▶ Run")

  • Decimal to Different Base Conversion
  • Divide and modulo Algorithm
  • Mask and Shift Algorithm
  • Bitwise Operations in C and Assembly (~,&,|,^,<<,>>)
    • Bitwise NOT
    • Bitwise AND
    • Bitwise Or
    • Bitwise XOR
    • Bitwise Left Shift
    • Bitwise Right Shift
  • Steps of compilation
    1. Pre-processing
    2. Compilation
    3. Assembly
    4. Linking
  • Components of a CPU and Their Operation (Crash Course Computer Science #7) •Control Unit
  • Arithmetic Logic Unit
  • Registers
  • Phases of CPU Operation
    1. ([Ff]etch)
    2. ([Dd]ecod)
    3. ([Ee]execute)
  • Character Arrays/Buffers
  • Characters Are Just Numbers
  • Writing a Simple C Function
  • All Vocabulary on the “MSP430 Registers” Slide Deck

MSP430 Specific

  • Chip Startup (What does it do?)
  • Ram Boundaires (0x200 to 0x400) •Start of Program ROM (0xC000)
  • Number of Registers
  • Bit Depth
  • Four Special Registers and Their Purpose (Remember the Slide Deck!)
  • r0 Program Counter
  • r1 Stack Pointer
  • r2 Status Register
  • r3 Constant Generator