Various subroutines for x86 Assembly Language