search for: wrhexw

Displaying 1 result from an estimated 1 matches for "wrhexw".

2010 Nov 26
1
[PATCH] new *br: Show handoff data
...0x462 .globl _start _start: cli xorw %ax, %ax movw %ax, %ss movw $stack, %sp pushaw pushw %di /* es:di -> $PnP header */ pushw %es pushw %si pushw %ds sti cld pushw %cs popw %ds #ifdef DEBUG_START pushw %dx call crlf movw $(_start),%dx /* 0x0600 mbr.ld .text address */ call wrhexw call crlf call caddr caddr: popw %dx subw $(caddr - _start), %dx call wrhexw call crlf popw %dx #endif /* DEBUG_START */ /* write DL */ pr_dl: call wrstr .ascii "DL: \0" call wrhexb /* DS */ pr_ds: call wrstr .ascii " DS: \0" LOADE ds, dx pushw %dx popw %es cal...