CC410: System Programming

Slides:



Advertisements
Similar presentations
Switch code for Lab 4.2 switch (input) { /* input is a variable that we will test. */ case 'M': printf("The prefix is equal to 1E6.\n"); break; case 'k':
Advertisements

Reconfigurable Computing S. Reda, Brown University Reconfigurable Computing (EN2911X, Fall07) Lecture 06: Verilog (2/3) Prof. Sherief Reda Division of.
Lecture 20: 11/12/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
1 Today’s lecture  Last lecture we started talking about control flow in MIPS (branches)  Finish up control-flow (branches) in MIPS —if/then —loops —case/switch.
COMP3221 lec-12-mem-II.1 Saeid Nooshabadi COMP 3221 Microprocessors and Embedded Systems Lecture 12: Memory Access - II
Chapter 04 (Part III) Control Statements: Part I.
Simplified Instructional Computer (SIC). SIC Architecture Two versions: SIC and SIC/XE (extra equipments). SIC program can be executed on SIC/XE. Memory.
System Software by Leland L. Beck chapter 1, pp.1-20.
1 The Simplified Instructional Computer (SIC) Hsiang-Fu Yu National Taipei University of Education.
System Software.
System Software by Leland L. Beck chapter 1, pp.1-20.
General Computer Science for Engineers CISC 106 Lecture 19 Dr. John Cavazos Computer and Information Sciences 04/06/2009.
Chapter 2.2 Machine Language.
Figure 1.1 The observer in the truck sees the ball move in a vertical path when thrown upward. (b) The Earth observer views the path of the ball as a parabola.
Peter Andreae Computer Science Victoria University of Wellington Copyright: Peter Andreae, Victoria University of Wellington Arrays COMP 102 # T1.
Using McGraw Hill’s Connect Dr. Capers. You will need publisher code from your book (comes with purchased textbook) Click on link for your class to find.
Character Data and 32-bit Constants (Lecture #20) ECE 445 – Computer Organization The slides included herein were taken from the materials accompanying.
ECE 265 – LECTURE 5 The M68HC11 Basic Instruction Set 12/8/ ECE265.
Registering & Log-In USER NAME: PASSWORD: INSTITUTION CODE:
Lecture 5: Register Transfer & Micro-OpsOverview1.
Murach, Chapter 5. Common Control Structures Selection: The IF statement Case: The Select Case statement Iteration: Loops 9/28/20082.
CS130 Visual Basic Project 4 Lecture Fall New topics in project 4 Database, file (table), records, fields. Application that contains menus, submenus,
Introduction to Computers and Programming Lecture 7:
CS320n – Elements of Visual Programming Assignment Help Session.
Chapter 7: The Repetition Structure Introduction to Programming with C++ Fourth Edition.
CC410: System Programming Dr. Manal Helal – Fall 2014 – Lecture 10 – Loaders.
CC410: System Programming Dr. Manal Helal – Fall 2014 – Lecture 11–Macro-Processors.
CC 215 DATA STRUCTURES MORE ABOUT STACK APPLICATIONS Dr. Manal Helal - Fall 2014 Lecture 6 AASTMT Engineering and Technology College 1.
CC410: System Programming Dr. Manal Helal – Fall 2014 – Lecture 4 - Assembler 1.
CC410: System Programming Dr. Manal Helal – Fall 2014 – Lecture 12–Compilers.
CC410: System Programming Dr. Manal Helal – Fall 2014 – Lecture 9 - Assembler 4.
김길용 교수 분산처리연구실 시스템 프로그래밍 김길용 교수 분산처리연구실
CC410: System Programming
System Calls & Arithmetic
Chapter 9 Repetition.
CC410: System Programming
System Programming and administration
Operators Operators are symbols such as + (addition), - (subtraction), and * (multiplication). Operators do something with values. $foo = 25; $foo – 15;
Lecture 05: Mid-point Ellipse algorithm Dr. Manal Helal – Fall 2014
16.317: Microprocessor System Design I
Subroutines and the Stack
Microprocessor Systems Design I
Course Description Algorithms are: Recipes for solving problems.
ASSIGNMENT NO.-2.
CS 301 Fall 2001 – Chapter 3 Slides by Prof. Hartman, following “IBM PC Assembly Language Programming” by Peter Abel 9/17/2018.
CS-401 Assembly Language Programming
Symbolic Instruction and Addressing
The Processor and Machine Language
Chapter 5 Repetition.
CS170 Computer Organization and Architecture I
C++ fundamentals Lecture 1, Chapter 2 – pp /22/2018 Y K Choi.
CS149D Elements of Computer Science
Chapter 9 Control Structures.
CSCI 3328 Object Oriented Programming in C# Chapter 4: C# Control Statement – Part I – Exercises UTPA – Fall 2012 This set of slides is revised from lecture.
Morgan Kaufmann Publishers Computer Organization and Assembly Language
Simplified Instructional Computer (SIC)
Symbolic Instruction and Addressing
CC410: System Programming
Symbolic Instruction and Addressing
LabVIEW.
Simplified Instructional Computer (SIC)
CS 3843 Midterm Two Review Fall 2013 Prof. Qi Tian.
Get Started in 4 Easy Steps!
Operators In Java Programming By Rajanikanth B.
Chapter 6 –Symbolic Instruction and Addressing
Some Assembly (Part 2) set.html.
C.2.10 Sample Questions.
C.2.8 Sample Questions.
C.2.8 Sample Questions.
Lecture 1: SIC Architecture
Presentation transcript:

CC410: System Programming Dr. Manal Helal – Fall 2014 – Lecture 2

Learning Objectives Study More SIC Programming Examples – Chapter 1

1.3.3 SIC Programming Examples

1.3.3 SIC Programming Examples Sample arithmetic operations (ALPHA+INCR-1) assign to BETA (Fig. 1.3) (GAMMA+INCR-1) assign to DELTA

1.3.3 SIC Programming Examples

1.3.3 SIC Programming Examples String copy Initialise the loop before entering Index in the string Increment by one index register X, compare with operand (11) and update condition code (CC) Jump to beginning of loop, if CC is LT (Less Than)

1.3.3 SIC Programming Examples