/explore
|
You are here |
nfraprado.net | ||
| | | | |
gpfault.net
|
|
| | | | | ||
| | | | |
gpfault.net
[AI summary] The text provides an in-depth exploration of various x86-64 instruction set architectures, focusing on arithmetic operations (ADD, SUB, MUL, SMUL, DIV, SDIV), logical operations (AND, OR, XOR, NOT), and control flow instructions. It details the implementation of these instructions in the QBX virtual machine, emphasizing how they emulate real x86-64 instructions while managing the flags register and handling different operand sizes (8-bit and 16-bit). The text also discusses the nuances of flag handling, register operations, and macro-based code generation to streamline instruction implementation. |
|
| | | | | ||
| | | | |
www.cs.virginia.edu
[AI summary] This comprehensive guide explains the fundamentals of 32-bit x86 assembly language programming, including registers, memory addressing, instructions, and calling conventions. |
|
| | | | | ||
| | | | |
blog.oddbit.com
Overview I was recently working with someone else's C source and I wanted to add some basic error checking without mucking up the code with a bunch of if statements and calls to perror. I ended up implementing a simple must function that checks the return value of an expression, and exits with an error if the return value is less than 0. You use it like this: must(fd = open("textfile.txt", O_RDONLY)); Or: |
|
| | | |||