CS 101/Additional Materials/Chapter 6

From Worcester State University Computer Science Department Wiki
< CS 101‎ | Additional Materials
Revision as of 16:30, 25 March 2016 by Karl Wurst (Talk | contribs) (Added chapter sections to begin cleanup)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Section 6.1 Computer Operations

Section 6.2 Machine Language

Pep/8: A Virtual Computer

= Important Features Refleted in Pep/8

Instruction Format

Some Sample Instructions

Section 6.3 A Program Example

Hand Simulation

Pep/8 Simulator

Section 6.4 Assembly Language

Pep/8 Assembly Language

Assembler Directives

Assembly-Language Version of Program Hello

A New Program

A Program with Branching

A Program with a Loop

Section 6.5 Expressing Algorithms

Pseudocode Functionality

Variables

Assignment

Input/Output

Selection

Repetition

Following a Pseudocode Algorithm

Writing a Pseudocode Algorithm

Translating a Pseudocode Algorithm

Section 6.6 Testing

---Pep8 explained---

{{#ev:youtube|fPlumyp64X0}} Found this video that helped explain Pep8. Video created on Nov. 17, 2013. Date added Oct. 17, 2015 Kristina Mironidis


Pep 8 Tutorial

https://www.youtube.com/watch?feature=player_embedded&v=-4Iu6eJ92QE

Here is another tutorial video i found to be very helpful.

Matt Lanteigne


Language: Jaclyn Mason

http://www.tutorialspoint.com/assembly_programming/

This tutorial website explains memory language with a very good example of memory language with its instructions.

Pep/8 Cheat Sheet

Listing of Pep/8 Instructions This Microsoft Word document essentially shows PEP/8's Architecture, memory, the instruction format along with the two parts of the instruction, and addressing modes. This document shows a table with of the instructions and their meanings. The table shows the mnemonic codes, the opcode numbers, operand mode specifier, and the meaning of each instruction. This is a very helpful tool or cheat sheet to reference from. Christopher Phethean 3-3-2016

Pep/8 Program Examples

Example Pep/8 Programs

Pep/8 Explanations

{{#ev:youtube|WY8MbVcxvFA}} {{#ev:youtube|NoNVxSRA7ik}} {{#ev:youtube|h819OGzaf9g}} {{#ev:youtube|myIWPAmQGvA}}

https://www.youtube.com/watch?v=fPlumyp64X0 Pep/8 Intro posted by Mark Holthouse on youtube in 2013 on youtube. Good intro video to pep/8 and he also has a series of videos posted on the subject. Great for those who need a base idea of what this topic is about. Rebecca Peacott added 2/18/16

Pep/8 – Quick Notes - http://people.cs.luc.edu/whonig/comp150/Coursmatl/pep-8-materials/pep-8-quick-notes-1 Added: 3/1/2016. Original Post Date: 11/21/2010. Gives a brief introduction to Pep/8. It also provides a summary of the different parts and how they work. - Samantha Stuart

Pep 8 Overview https://www.youtube.com/watch?v=QjkTcpApFHI - originally posted on 2/26/2015 This video gives a step by step overview of Pep 8. It is part of a series, and helps explain in detail how everything works. - Andrew Lund (3/5/2016)


Pep/8 Tutorials

{{#ev:youtube|7ZOXtpi7NDc}} {{#ev:youtube|Hl_dK_Q-Rqs}} {{#ev:youtube|WP7EnXGopzw}} {{#ev:youtube|avkIKutsUIA}} {{#ev:youtube|YR0i0pq5Mw4}} {{#ev:youtube|1sqp8nYLLqA}} {{#ev:youtube|0vg7zshvUMU}} {{#ev:youtube|5dfVKrICnOE}} {{#ev:youtube|0nkTl_EgcQQ}} {{#ev:youtube|nCzVw5p7hRo}}


Pep/8 Intro

https://www.youtube.com/watch?v=7ZOXtpi7NDc This video gives the basics of the pep8 simulator. An introduction video to anything you are learning can be very useful especially if you do not understand anything just yet. Posted on March 7th,2016. -Danielle Gary

https://www.python.org/dev/peps/pep-0008/ This link has the style guide and gives an extremely thorough overview which I found really helpful. Added: 05 MAR 2015 by Kylie Sauter

https://www.youtube.com/watch?v=fPlumyp64X0 This link was added on February 29th, 2016. It was last updated on November 17th, 2013. This is a good introductory video. It helps to show you where numbers are being placed in the Pep/8 Machine. This video tutorial explains all the things you would need to know as a beginner using the Pep/8 Simulator. Urooj Haider


https://www.youtube.com/watch?v=7ZOXtpi7NDc This video is an introduction to the pep/8 simulator and helped me grasp the concepts of object code and assembly language better. Uploaded Oct 27, 2011. Zackery Squires, 3/6/16


http://c2.com/cgi/wiki?MachineCode I found this website, Machine Code, helpful because it gives examples of machine code and I learn best by seeing examples. It isn't anything to detailed and is just a basic overview. If you click on the blue hyperlinks it will lead you to more definitions and examples. It was last modified December 16th 2014. -Jess Krafft

==========================================================================================================================================

Logan Martinez date added: March 7th, 2015 date of video upload: Sept 13th, 2013

Title: Pep8Machine

https://www.youtube.com/watch?v=-4Iu6eJ92QE

This video gives a more in depth understanding of using the Pep8 simulator program with the version that which is most updated, along with helping one understand machine language being instructed and programmed using Pep8, making it a resourceful video with a lengthy 12 and a half minutes of lecture and instruction.

Sudarshan T; Date added: 3/7/2015; Date created: July 19, 2012

https://itunes.apple.com/us/course/lecture-10-assembly-language/id546468937?i=127834791&mt=2

This is a course in computer systems taught by Stanley Warford at Pepperdine University. The 10th lecture in this course is about the assembly language; I found this lecture helpful in helping me understand assembly language better.


Olivia Giedymin Assembly Language Programming Tutorial Date added: 7 March 2015 Date created: 28 April 2013

https://www.youtube.com/watch?v=ZrE-f5ijk6g

This video walks you through the beginning steps of assembly language programming. It begins by breaking it down to the four parts, explaining each part in detail and specifications for each part. This video is clear, concise and helpful.

Ian Kelly PEP8 Intro Uploaded on Oct 27, 2011

http://www.cslab.pepperdine.edu/warford/cosc330/PDFChap05.pdf

Although this may be a review to some, I found the explanations and examples to be quite helpful in this power point.

Joseph Dupont Pep8Machine Date Created Sep 13, 2013 https://www.youtube.com/watch?v=-4Iu6eJ92QE This review was basically a shorter version of the videos above and helped in explaining how to use pep/8.

Zachary Zona Iec 8- Assembly Language Programming Date Added: 7, March 2015 Date Created: 12, Feb 2012 {{#ev:youtube|HXYhBCpDoVc}} This review should be very helpful to others, it is very long but it provides everything you need to know when it comes to programming assembly language.

Bob Lafrance PEP8 Intro Date Added October 27, 2011 https://www.youtube.com/watch?v=7ZOXtpi7NDc This tutorial is an introduction to programming assembly language using the pep8 simulator. It instructs not only in the use of source code but also in the use of object code. It also instructs in how to use the menu and provides information in the definitions of most of the labels.

pep/8 powerpoint https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=7&ved=0ahUKEwiOw8HVqaDLAhUBy2MKHf8rAI4QFghAMAY&url=http%3A%2F%2Fwww.kirkwood.edu%2Fpdf%2Fuploaded%2F262%2Fsp07lec6corrected.ppt&usg=AFQjCNH70kUU32pAT5HzBgLwX1L5LVXLyQ&bvm=bv.115946447,bs.2,d.cGc added: 01march2016 this is a downloadable powerpoint presentation that helped me get a little bit better understand of the pep 8 simulator. Scott Shea.

https://www.youtube.com/watch?v=7ZOXtpi7NDc this video was uploaded by Blastgoku on on Oct 27, 2011 which shows the use PEP8 assembly language program and some example code that we will operate on. Sworup Ojha, added 03-05-16

https://www.youtube.com/watch?v=7ZOXtpi7NDc&list=PLNMPrexLw9PAhbZ-bR_15ULwDrtxZzorO (Uploaded: Oct. 27, 2011) The video shows on how to use PEP8 Assembly Language Program. This video is in a playlist that will show the structure of the program. You will also learn the functions of each command used. -Justin Cabacungan (Date Added: March. 2, 2016)

Presentation Low Level Programming Languages

http://slideplayer.com/slide/2262291/ Date Added: 10/16/2015 Date Published: 2013 This is an interesting website because it gives us a Powerpoint presentation on this topic right from our book. I like it because it not only has the slides but also has a transcript following the actual slide show. It also follows the book so you are able to follow along and better understand the book.

PEP8 Machine www.kirkwood.edu/.../assembly_languag... This powerpoint made by Kirkwood College made PEP8 assembly language much clearer to me versus how the book describes. 10-16-15 Rebecca Sherr


PEP8 Introduction https://www.youtube.com/watch?v=QjkTcpApFHI Date Added 10/17/2015. Date Created 2/26/2015. This is a short tutorial that goes over how to use the PEP8 Machine program. It goes over the buttons used in PEP8, what they do, and how to input a simple program. He also discusses how the PEP8 program reads the input instructions. ~Caitlyn Lambert-Hutchinson


Pep 8 Machine https://www.youtube.com/watch?v=wf-BqAjZb8M 11 Apr. 2015. 17 Oct. 2015 This video is a bit advanced however it truly depicts the seriousness of how to use the pep 8 machine in its common form for internet sources and companies. With this video it show real life uses how to the machine to create code and its limitations. Unlike how we have been learning about this process this video really gives a much more detailed look at how the modern-day coders develop useable lines of code for computers. Zachary Nader

Machine Code Instruction

https://youtu.be/Mv2XQgpbTNE John Philip Jones- 3/2013

This video was helpful in explaining Op codes and Operands, and why binary instructions are abbreviated in Hex. The speaker was a bit redundant but it was a thorough explanation.

Meaghan Connelly

Machine language http://www.atariarchives.org/mlb/ I found this very helpful in understanding how machine language works and how it operates.

http://computersystemsbook.com/resources/tutorials/ The first video on this site from the Pep/8 people is a quick introduction to working with machine language in Pep/8. -Zachary Halzel (3/5/2016)

Joseph Clark


Chapter 6 http://www.swansontec.com/sprogram.html

This is a great introduction for someone who has never taken Computer Science to understand assembly language. It provides a great basic outline almost dumbing it down allowing non CS majors like myself to grasp the concepts.

Peter Doyle

http://www.computernostalgia.net/articles/machineCode.htm This was helpful in extending definitions and examples on machine language as I found the book to be confusing in its definitions. Rebecca Campbell 3/3/2016


I found this to be very helpful with op codes it blew my mind http://home.iitk.ac.in/~ajalan/opcodes-table-of-intel-8085.pdf -Liz Cochrane 3-4-16

https://en.wikipedia.org/wiki/Assembly_language - What more could you really want about AssyLng than this! -J Young, 3/5/16