search for: cmpsb

Displaying 6 results from an estimated 6 matches for "cmpsb".

Did you mean: cmpb
2017 May 07
2
X86 disassembler fails to handle 0x66 prefix?
...eturn the same output, but not. $ echo "0xf3 0x66 0xa5"|./build/bin/llvm-mc --disassemble -triple=x86_64 -output-asm-variant=1 .text rep movsw word ptr es:[rdi], word ptr [rsi] $ echo "0x66 0xf3 0xa6"|./build/bin/llvm-mc --disassemble -triple=x86_64 -output-asm-variant=1 .text cmpsb byte ptr [rsi], byte ptr es:[rdi] You can see just by exchanging the order of 0xf3 & 0x66, we get different result. F3 in this case is not really a prefix for REP I think. Is there any solution to fix this? Thanks. Jun
2008 Aug 31
1
[RFC][PATCH] ui: label completion on tab key
...+ push cx ; save command line size + + mov di,VKernelBuf + call rllunpack + ; ESI updated on return + + sub di,cx ; Return to beginning of buf + pop cx ; restore command line size + push si ; save SI + cmp cx,0 + jz .print + push di + push cx + mov si,command_line + es repe cmpsb + pop cx + pop di + jne .next +.print: + mov al,' ' + call writechr + + mov si,di + call writestr +.next: + pop si ; restore SI + jmp .scan +.not_vk: + call crlf + jmp enter_command + ctrl_f: xor ah,ah mov [FuncFlag],ah Index: syslinux-3.71-27-g3d39943/core/keywords ===...
2002 Jul 11
1
help with porting patch from 1.62 to 1.75
...mode ; Reset video cli ; Point of no return @@ -4162,6 +4164,91 @@ linear_color db 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 0 UsingVGA db 0 +; +; Check for magic "swap" kernel -- wingel +; +check_for_swap: + mov si,swap_name + mov di,KernelName + mov cx,11 + repe cmpsb + je is_swap + ret + +is_swap: + call crlf + mov si,swap_loading + call cwritestr + + push bx + mov ax,0201h ; read disk, 1 sector + mov bx,trackbuf + mov cx,1 ; track 0, sector 1 + xor dh,dh ; head 0 + mov dl,81h ; second hard drive + int 13h + pop...
2003 Dec 27
0
2 disks boot patch
...000000 +0100 @@ -156,20 +156,32 @@ .notkeep: %endif push es ; Save ES -> real_mode_seg push cs pop es ; Set ES <- normal DS mov di,initrd_cmd mov cx,initrd_cmd_len repe cmpsb jne not_initrd +; begin - freddy77 + ; detect change needed + lodsw + cmp ah, ':' + je set_initrd_span + xor ax,ax + dec si + dec si +set_initrd_span: + mov [es:initrd_span], al +; end - freddy77 + mov di,InitRD push si...
2010 Jul 15
1
Accessing command_line from core C code
...push cx ; save command line size - - mov edi,VKernelBuf - pm_call rllunpack - ; ESI updated on return - - sub di,cx ; Return to beginning of buf - pop cx ; restore command line size - push si ; save SI - cmp cx,0 - jz .print push di - push cx - mov si,command_line - es repe cmpsb - pop cx - pop di - jne .next -.print: - mov al,' ' - call writechr - - mov si,di - call writestr -.next: - pop si ; restore SI - jmp .scan -.not_vk: - call crlf + pm_call pm_display_labels jmp fk_wrcmd ctrl_f: This is the output: boot: command_line: justtesting kern...
2003 Dec 27
0
FW: 2 disks boot patch
...000000 +0100 @@ -156,20 +156,32 @@ .notkeep: %endif push es ; Save ES -> real_mode_seg push cs pop es ; Set ES <- normal DS mov di,initrd_cmd mov cx,initrd_cmd_len repe cmpsb jne not_initrd +; begin - freddy77 + ; detect change needed + lodsw + cmp ah, ':' + je set_initrd_span + xor ax,ax + dec si + dec si +set_initrd_span: + mov [es:initrd_span], al +; end - freddy77 + mov di,InitRD push si...