Course Syllabus

cs271banner.png

NOTE: Some links in this syllabus page may only be accessible to currently enrolled students.

Please post all course-related questions in the Piazza page so that the whole class may benefit from your conversation.  Not all posts require a reply from the instructor/TA and often it is better for students to hash out an answer to a question.

To contact the TAs, open Canvas Inbox, compose a new message, select this course, then next to the ‘To’ box click the address book, select “Teaching Assistants”, then choose the name(s) of TAs you wish to contact.

Please email your instructor only for matters of a personal or private (grading) nature.  The instructor or a TA will reply to most course-related questions within 24-48 hours.

Office Hours are held via the class-specific Slack workspace. For details on getting set up on Slack, please go HERE.  The actual Workspace you should sign into is oregonstate.enterprise.slack.com
This will log you into your OSU slack account, where the class Workspace should be visible.

Listing by Day: 

Sunday 10:00am-12:00pm (Han-Ting) 2:00pm-4:00pm (Thomas) 6:00pm-7:00pm (Anthony) 7:00pm-9:00pm (Joshua)
Monday 12:00pm-1:00pm (Yi-Chieh) 1:30pm-3:30pm (Nicholas) 3:30pm-4:30pm (Yi-Chieh)  
Tuesday 11:30am-1:30pm (Yi-Chieh) 4:00pm-6:00pm (Joshua)
Wednesday 1:30pm-3:30pm (Nicholas) 3:00pm-5:00pm (John)
Thursday 10:00am-12:00pm (Han-Ting) 6:00pm-7:00pm (Anthony) 7:00pm-9:00pm (Jamie)
Friday 6:00pm-7:00pm (Anthony)
Saturday 8:00am-10:00am (John) 3:00pm-5:00pm (Thomas) 6:00pm-7:00pm (Anthony)

 

eCampus Resources - These resources will be useful for all of your classes throughout the term...  Library Information, Helpdesk Contact Info, Canvas Tech Support, etc...

Syllabus Link

Schedule Link

Syllabus Quiz: This quiz is based on the syllabus, so understand the syllabus before taking it. You'll need to score 100% in order to access the Week 1 materials! Don't Fall Behind!

NOTE: This quiz is only available to currently-registered students.

Instructor Introduction

 

Course / Designer Introduction

 

Welcome to CS271 (PDF)

  • Introduce Yourself

    Hop on over to Piazza (the link on the navigation sidebar will take you straight there) and introduce yourself!

The following consists of installation & setup tutorials for Visual Studio 2019.

If you want to use Visual Studio via Citrix, please see the bottom of this page.

Coming out of this module you should have done the following:

  • Set up Microsoft Visual Studio
  • Install and configure Kip Irvine's libraries
  • Started a new Assembly code project
  • Verified that Visual Studio is installed properly

Your Visual Studio install will need to be "Activated" with your Product Key.  You can retrieve this key at any time through the Microsoft Azure interface by looking in "All Services --> Other --> Education --> Software" and clicking on the Visual Studio product that you installed.

What if I don't have Windows on my computer?

  • Since the Microsoft Assembler (packaged with Visual Studio) only runs on Microsoft Windows, you will need access to a Windows installation. Fortunately, all the tools that you need are provided for free. Be aware that you have several options. For recommendations or other advice, feel free to post a question on the Piazza forum (see link in the sidebar).

    • OSU students get free access to virtualization products including VMware Fusion (for Mac OS) and VMware Workstation (for Linux). Both of those tools are available for download at the VMware Academic Site. The Linux version supports Ubuntu, RHEL, CentOS, Oracle Linux, and SUSE.
    • As a Linux user myself, I generally recommend that students use Virtual Box to run Windows within their Linux installation. Virtual Box is completely free so it has widespread support across numerous distros.
    • Mac and Linux users can also dual-boot their computer to run Windows. If you choose this option, make sure that you fully understand the consequences!

    Whichever strategy you choose, you will still need to have access to the Windows installation media. This is also available for free on the Microsoft Azure interface. The Windows 10 download can be located in the section: "All Services --> Other --> Education --> Software --> Windows 10 (consumer editions)"

Installation on PC

  • Get Set Part 1

    Visual Studio is now available through the Microsoft Azure program.
    To get started, visit https://azureforeducation.microsoft.com/devtools and log in using a Microsoft account. Ironically, Microsoft requires that you log in with a non-OSU email (if you have an existing account you can use it) and then verify your OSU email to obtain access. Once you are logged in, the main portal should look similar to the following:
    Azure_home.PNG

    In order to access the Visual Studio download, go to "All Services" and make sure the "Everything" category is selected. In the search bar, type "education" and select the Education option that appears.
    Azure_education_search.PNG

    Once you are in the Education section, locate "Visual Studio Enterprise 2019" (in the Software sub-section). You can then view your assigned license key and download the software.
    Azure_education_software.PNG

    When you install Visual Studio you will be asked to select your intended workload (e.g. how do you plan to use Visual Studio). You should select "Desktop  development with C++" as that is the best option for our purposes. I suggest installing Visual Studio 2019 simply because that is the most recent version. Visual Studio 2010 is shown in some class videos but the newer versions of Visual Studio have better compatibility with Windows 10.

     

  • Get Set Part 2

    In order to configure the textbook libraries, you will need to download two ZIP files and extract their contents to the proper location.

    • First download the file http://kipirvine.com/asm/gettingStartedVS2019/Irvine.zip
      Extract the contents of this ZIP file into the C:\ directory. If the files were extracted properly, the following file should exist on your computer:
      C:\Irvine\Irvine32.lib
    • Next, we need to download the Visual Studio project file. For this step, it's recommended that you create the directory C:\CS271
      You can then download the file http://kipirvine.com/asm/gettingStartedVS2019/Project32_VS2019.zip and extract the contents into C:\CS271
      If the extraction was successful you should be able to locate the file: C:\CS271\Project32_VS2019\AddTwo.asm
    If you are using an older version of Visual Studio (prior to 2019), other versions of the textbook libraries are available from the author's website at http://kipirvine.com/asm/
  • Get Set Part 3

    This video shows how to start a new Assembly code project and verify that Visual Studio is installed properly. Although this video illustrates the procedure using Visual Studio 2015, any recent version of Visual Studio (2015-2019) will work.

Alternative: Using Citrix (not recommended)

Citrix is a software product that allows you to access programs on a remote computer as if you were sitting at the desktop. Personally, I generally recommend that students install Visual Studio on their local computer, rather than using Citrix. However, if you want to try it, you should be able to access Visual Studio on our OSU Citrix Servers as follows:

On Citrix, choose the “Desktop” choice at the top (or bottom?) of the screen after you are logged in and then the “MIME EECS Desktops” choice. This will create a session as if you were logged on to an on-campus lab computer.  In the Citrix session, download the updated zip file here and extract it to

Z:\bin\CS271\

You will have to make this folder (it does not exist by default). All your projects should live in this directory, since in order to execute code on Citrix the executable should be in the bin folder or a subdirectory thereof. Also note that you need "execute" permissions in the 'bin' folder, which may or may not be set by default. If you are having trouble with this folder they can create/reset it here (log into TEACH and click the link that says "Reset Windows Bin Directory").

NOTE 1: You do not have to download/install the Irvine library if you use the Citrix machine. The EECS configuration should already have the libraries installed.

  1. Open the Project.sln from "Z:\bin\CS271\Project32_VS2019" after you've extracted it to this location (one of the videos shows you this).
  2. You should now be able to use Visual Studio for this course.

NOTE: Be aware that the files will NOT reside on your home computer, and if you want them on your computer/laptop you'll have to transfer them using an SFTP utility.

Other Resources

  • Syntax Highlighting

    By default, Visual Studio does not include syntax highlighting for Assembly code. This can sometimes make it more difficult to read your source code.

    • For Visual Studio 2015 and later, you may use this AsmHighlighter.
    • You may also use an external editor (such as Notepad++, which is great for MASM), then compile/run within Visual Studio (this is what I do).

Course Summary:

Date Details Due