Contains the source code from the course work throughout my undergraduate Computer Engineering degree at Brigham Young University. There is a mixture of Go, Python, C, C++, Java, VHDL, Verilog, Matlab, Bash, Assembly, etc..
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

yaks.s 395B

123456789101112131415161718192021222324252627282930313233343536373839
  1. YKIdleTask:
  2. push bp
  3. mov bp, sp
  4. yak_loop:
  5. inc word [YKIdleCount]
  6. jmp yak_loop
  7. YKDispatcher:
  8. cli
  9. push bp
  10. mov bp, sp
  11. mov bx, [bp+4] ;Obtain stack pointer from TCB
  12. mov sp, [bx+4] ;Load stack pointer into SP
  13. pop bp
  14. pop es
  15. pop ds
  16. pop si
  17. pop di
  18. pop dx
  19. pop cx
  20. pop bx
  21. pop ax
  22. iret
  23. YKEnterMutex:
  24. cli
  25. ret
  26. YKExitMutex:
  27. sti
  28. ret