search for: movsw

Displaying 12 results from an estimated 12 matches for "movsw".

Did you mean: movss
2017 May 07
2
X86 disassembler fails to handle 0x66 prefix?
...est code it is still there: that is X86 disassembler does not handle 0x66 prefix properly, if it is put behind 0xF3 prefix. The below commands should return 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 re...
2002 Aug 07
0
Boot failed
...luded an explanation of the hack I made below. In file ldlinux.asm: ORIGINAL ----> starting at line 284 <----- ... ; ; DS:SI may contain a partition table entry. Preserve it for us. ; mov cx,8 ; Save partition info mov di,sp rep movsw mov ds,ax ; Now we can initialize DS... mov [di+bsDriveNumber-FloppyTable],dl and dl,dl ; If floppy disk (00-7F), assume no js harddisk ; partition table ... MODIFIED ----> starting at line...
2016 Oct 31
1
COMPILER-RT build break
...ot;, "rcx", "memory"); \ ^ /home/mzuckerm/llvm23/llvm/projects/compiler-rt/lib/asan/tests/asan_asm_test.cc:130:1: error: asm-specifier for input or output variable conflicts with asm clobber list DECLARE_ASM_REP_MOVS(U2, "movsw"); ^ /home/mzuckerm/llvm23/llvm/projects/compiler-rt/lib/asan/tests/asan_asm_test.cc:65:15: note: expanded from macro 'DECLARE_ASM_REP_MOVS' : "rsi", "rdi", "rcx", "memory"); \ ^ /h...
2017 Mar 18
0
isohybrid boot from logical partition
...partoffset_lo */ pushw %es /* -10: es:di -> $PnP header */ pushw %di /* -12: es:di -> $PnP header */ movw %bp, %ds movw %bp, %es ADJUST_DRIVE pushw %dx /* -14: dl -> drive number */ /* Copy down to 0:0x600 */ movw $0x7c00, %si movw $_start, %di movw $(512/2), %cx rep; movsw ljmpw $0, $next next: /* Check to see if we have EBIOS */ pushw %dx /* drive number */ movb $0x41, %ah /* %al == 0 already */ Here it claims that al is zero. This is not true. Especially if you look at the line that says "cmpl $0x58504721, %eax" earlier. That code is looking fo...
2008 Oct 24
1
Visual Basic 4 under Wine
...7bc6c91e call_thread_entry_point+0xe() in ntdll (0x7daada38) 6 0x7bc6df42 in ntdll (+0x5df42) (0x7daadad8) 7 0x7bc6e13d in ntdll (+0x5e13d) (0x7daae3c8) 8 0xb7e8b50f start_thread+0xbf() in libpthread.so.0 (0x7daae4c8) 9 0xb7e077ee __clone+0x5e() in libc.so.6 (0x00000000) 0x1337:0x01dd: repe movsw (%si),%es:(%di) Modules: Module Address Debug info Name (101 modules) ELF 7b800000-7b93d000 Export kernel32<elf> \-PE 7b820000-7b93d000 \ kernel32 ELF 7bc00000-7bca7000 Export ntdll<elf> \-PE 7bc10000-7bca7000 \ ntdll ELF 7bf00000-7bf0...
2009 Mar 30
2
[PATCH 1/1] v2 Add Diagnostic MBR for trouble-shooting
...ded by BIOS in DL */ + movw %ax, %es /* reset extra segment base */ + sti /* enable interrupts */ + cld /* increment direction for relocation operation */ +relocate: + movw $_start, %di /* destination address for relocation */ + movw $(512/2), %cx /* number of words to relocate */ + rep; movsw /* repeat the move CX times, incrementing SI and DI after each move */ + + ljmpw $0, $get_shift_keys /* far jump to ensure CS:IP are set correctly to 0000:0600+get_shift_keys */ + /* rather than the current CS:IP which will be based on 0x7C00 */ + +get_shift_keys: /* Provide a way for...
2017 Mar 21
3
"isolinux.bin missing or corrupt" when booting USB flash drive in old PC
...partoffset_lo */ pushw %es /* -10: es:di -> $PnP header */ pushw %di /* -12: es:di -> $PnP header */ movw %bp, %ds movw %bp, %es ADJUST_DRIVE pushw %dx /* -14: dl -> drive number */ /* Copy down to 0:0x600 */ movw $0x7c00, %si movw $_start, %di movw $(512/2), %cx rep; movsw ljmpw $0, $next next: /* Check to see if we have EBIOS */ pushw %dx /* drive number */ movb $0x41, %ah /* %al == 0 already */ movw $0x55aa, %bx xorw %cx, %cx xorb %dh, %dh stc int $0x13 jc 1f cmpw $0xaa55, %bx jne 1f andw $1,%cx /* Bit 0 = fixed disk subset */ jz 1f /* We have E...
2012 Sep 10
19
Initial support for sector size >512
This set of patches add some support for sector size >512. Currently it fixes extlinux, MBR for GPT and ext partitions. Other code is unaffected. This set of patches has been tested on a read Dell machine running a beta firmware.
2009 Mar 30
0
[PATCH 1/1] Add Diagnostic MBR for trouble-shooting
...ded by BIOS in DL */ + movw %ax, %es /* reset extra segment base */ + sti /* enable interrupts */ + cld /* increment direction for relocation operation */ +relocate: + movw $_start, %di /* destination address for relocation */ + movw $(512/2), %cx /* number of words to relocate */ + rep; movsw /* repeat the move CX times, incrementing SI and DI after each move */ + + ljmpw $0, $get_shift_keys /* far jump to ensure CS:IP are set correctly to 0000:0600+get_shift_keys */ + /* rather than the current CS:IP which will be based on 0x7C00 */ + +get_shift_keys: /* Provide a way for...
2005 Apr 02
1
[PATCH] VMX support for MMIO/PIO in VM8086 mode
...o al */ thread_inst->op_size = BYTE; @@ -291,7 +321,6 @@ /* movsb */ thread_inst->op_size = BYTE; strcpy((char *)thread_inst->i_name, "movs"); - return DECODE_success; case 0xa5: /* movsw/movsl */ @@ -299,16 +328,28 @@ } else { thread_inst->op_size = LONG; } - strcpy((char *)thread_inst->i_name, "movs"); - return DECODE_success; - + case 0xaa: + /* stosb */...
2009 Mar 30
2
[PATCH 1/1] v3: Add Diagnostic MBR for trouble-shooting BIOS boot-order problems.
...ded by BIOS in DL */ + movw %ax, %es /* reset extra segment base */ + sti /* enable interrupts */ + cld /* increment direction for relocation operation */ +relocate: + movw $_start, %di /* destination address for relocation */ + movw $(512/2), %cx /* number of words to relocate */ + rep; movsw /* repeat the move CX times, incrementing SI and DI after each move */ + + ljmpw $0, $get_shift_keys /* far jump to ensure CS:IP are set correctly to 0000:0600+get_shift_keys */ + /* rather than the current CS:IP which will be based on 0x7C00 */ + +get_shift_keys: /* Provide a way for...
2010 Aug 12
59
[PATCH 00/15] RFC xen device model support
Hi all, this is the long awaited patch series to add xen device model support in qemu; the main author is Anthony Perard. Developing this series we tried to come up with the cleanest possible solution from the qemu point of view, limiting the amount of changes to common code as much as possible. The end result still requires a couple of hooks in piix_pci but overall the impact should be very