skip to main content
article

SPIMbot: an engaging, problem-based approach to teaching assembly language programming

Published: 23 February 2005 Publication History

Abstract

This paper describes SPIMbot, an extension to James Larus's widely-used MIPS simulator SPIM, that allows virtual robots to be controlled by writing programs in the MIPS assembly language. SPIMbot was written to provide an engaging environment to motivate students to learn assembly language concepts. The SPIMbot tool allows the development of scenarios---in which students must program the robot to perform certain tasks---and provides the means to compete two robots against each other.In our sophomore/junior-level class, we structure the programming component as a collection of structured assignments that produce sub-components for the robot; these sub-components are then used in a final open-ended programming assignment to produce an entry for a SPIMbot tournament. In our experience, this has been an effective means of engaging students, with many students investing time to aggressively optimize their implementations. SPIMbot has been effectively used in large classes and its source code is freely available [7].

References

[1]
A. W. Chickering and Z. F. Gamson. Seven principles for good practive in undergraduate education. American Association for Higher Education Bulletin, 39:3--7, 1987.
[2]
B. G. Davis. Tools for Teaching. Jossey-Bass, San Francisco, CA, 2001.
[3]
E. M. F. III and L. Silvestri. Effects of Rewards, Competition and Outcome on Intrinsic Motivation. Journal of Instructional Psychology, 19:3--8, 1992.
[4]
J. Larus. SPIM: A MIPS R2000/R3000 Simulator. http://www.cs.wisc.edu/ larus/spim.html.
[5]
S. Papert. Mindstorms: Children, Computers, and Powerful Ideas. Basic Books, New York, 1980.
[6]
P. Teller, M. Nieto, and S. Roach. Combining Learning Strategies and Tools in a First Course in Computer Architecture. In Workshop on Computer Architecture Education, held in conjunction with the 30th Annual International Symposium on Computer Architecture, June 2003.
[7]
C. Zilles. SPIMbot. http://www-faculty.cs.uiuc.edu/ zilles/spimbot.

Cited By

View all
  • (2024)Where Do Students Struggle Most in a First Course on Assembly Language?Proceedings of the 26th Western Canadian Conference on Computing Education10.1145/3660650.3660652(1-5)Online publication date: 2-May-2024
  • (2020)Assembly language and processor design: an integrated projectDYNA10.15446/dyna.v87n212.7957987:212(57-62)Online publication date: 1-Jan-2020
  • (2018)Teaching Computer Architecture Labs using a MCU PlatformProceedings of the 23rd Western Canadian Conference on Computing Education10.1145/3209635.3209651(1-6)Online publication date: 4-May-2018
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM SIGCSE Bulletin
ACM SIGCSE Bulletin  Volume 37, Issue 1
2005
562 pages
ISSN:0097-8418
DOI:10.1145/1047124
Issue’s Table of Contents
  • cover image ACM Conferences
    SIGCSE '05: Proceedings of the 36th SIGCSE technical symposium on Computer science education
    February 2005
    610 pages
    ISBN:1581139977
    DOI:10.1145/1047344
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 23 February 2005
Published in SIGCSE Volume 37, Issue 1

Check for updates

Author Tags

  1. MIPS
  2. assembly language programming
  3. education

Qualifiers

  • Article

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)4
  • Downloads (Last 6 weeks)0
Reflects downloads up to 07 Mar 2025

Other Metrics

Citations

Cited By

View all

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Figures

Tables

Media

Share

Share

Share this Publication link

Share on social media