A repo for random assembly stuff I write
uses linux x86_64 system calls
- also prints a small box, but with some adjustments
- now uses mmap syscall to create space in memory
- then constructs the box in this memory space based on x and y values defined in the data section
- prints the box from memory
- reads a single digit from stdin, then prints it out a number of times equal to the digits value
- precursor to the more complex number conversion file tests
- also done to play around with stdin a bit
- the reverse of the above, converts a 64 bit integer into a string and prints it
- does not however use the data section... as I was also using it to experiment with using the stack for temporary variable storage
- contains two subroutines that read user input into a buffer provided by the caller
- read_string - reads characters until either a maximum length, or a newline. whichever comes first
- read_line - reads characters to the end of the line, discards anything beyond the buffer length
- Both will 0 terminate the string in the buffer