Skip to content

CS-210-Spring-25/Lecture-Examples

Repository files navigation

Lecture-Examples

C Unit

/lec12

  • Lec12 contains hello.c, sumit.c

Assembly Unit

Here you can find the example code used in lecture.

L6

  • popcnt1.s

L7

  • popcnt2.s
  • popcnt3.s

L8

  • mov.s
  • movend.s
  • movex.s

L9

  • sumit.s
  • usesum.s
  • 10num.txt (ASCII file of values to add, need to convert to a .bin file)

L10

  • sumitv2.s, usesumv2.s (multiple jumps to sumit)
  • usesumv3.s (using push and pop for return addresses - can use with sumitv2.s)
  • sumitv4.s, usesumv4.s (call and ret implemented)
  • sumitspill.s (spilling some register values onto stack)
  • pow.s

L11

  • hello.s
  • read.s

General

  • setup.gdb

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •