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.

clib.h 772B

1234567891011121314151617181920212223242526272829
  1. #ifndef CLIB_H
  2. #define CLIB_H
  3. // Header file for clib.s output routines
  4. // Text Output:
  5. void print(char *string, int length); // Print length bytes of string
  6. void printNewLine(void); // Print carriage return and line feed
  7. void printChar(char c); // Print character c
  8. void printString(char *string); // Print string
  9. // Decimal Output:
  10. void printInt(int val);
  11. void printLong(long val);
  12. void printUInt(unsigned val);
  13. void printULong(unsigned long val);
  14. // Hexadecimal Output:
  15. void printByte(char val);
  16. void printWord(int val);
  17. void printDWord(long val);
  18. // Program Control:
  19. void exit(unsigned char code); // Terminate with exit code
  20. // PIC Functions:
  21. void signalEOI(void); // Send non-specific EOI to PIC
  22. #endif