Searched refs:eax (Results 51 - 75 of 117) sorted by relevance

12345

/haiku/src/system/boot/platform/pxe_ia32/
H A Dpxe_bios.S57 // enter real mode (clobbers %eax, %ds, %es, %fs, %gs, %ss, %sp)
63 movl %edx, %eax
64 shrl $4, %eax
75 movl %ebx, %eax
76 shrl $4, %eax
88 // back to protected mode (clobbers %eax)
95 movl SAVED_EAX, %eax
/haiku/src/system/boot/platform/bios_ia32/
H A Dlong_asm.S36 movl %cr0, %eax
37 andl $~(1 << 31), %eax
38 movl %eax, %cr0
41 movl %cr4, %eax
42 orl $(1 << 5) | (1 << 7), %eax
43 orl %ecx, %eax
44 movl %eax, %cr4
47 movl gLongPhysicalPMLTop, %eax
48 movl %eax, %cr3
53 orl $(1 << 8), %eax
[all...]
H A Dapm.cpp29 regs.eax = BIOS_APM_CHECK;
40 gKernelArgs.platform_args.apm.version = regs.eax & 0xffff;
54 regs.eax = BIOS_APM_DISCONNECT;
62 regs.eax = BIOS_APM_CONNECT_32_BIT;
71 gKernelArgs.platform_args.apm.code32_segment_base = regs.eax & 0xffff;
/haiku/src/bin/unzip/
H A Dcrc_i386.S97 * eax : crc value "c"
108 shrl $8, %eax ;/* c = (c >> 8) */\
109 xorl (%edi, %ebx, 4), %eax ;/* c ^= table[tmp] */
113 shrl $8, %eax ;/* c = (c >> 8) */\
114 xorl (%edi, %ebx, 4), %eax ;/* c ^=table[tmp] */
124 xorl (%esi), %eax ;/* c ^= *(ulg *)buf */\
146 subl %eax, %eax /* > if (!buf) */
150 movl %eax, %edi
151 movl arg1, %eax /*
[all...]
/haiku/src/add-ons/screen_savers/nebula/
H A DDraw.c74 unsigned int eax, ebx; local
75 eax = *src;
77 ebx = eax;
78 eax >>= 1;
81 eax &= clear1UpperBit;
85 eax += ebx;
86 *src = eax;
/haiku/src/system/libroot/posix/glibc/include/arch/x86/
H A Dbp-asm.h81 value in %eax, stuffing all into memory at RTN(%esp).
86 movl %eax, 0(%edx); \
87 movl 4+BP_MEM, %eax; \
88 movl %eax, 4(%edx); \
89 movl 8+BP_MEM, %eax; \
90 movl %eax, 8(%edx)
94 movl %eax, 0(%edx); \
95 movl %eax, 4(%edx); \
96 movl %eax, 8(%edx)
110 popl %eax; \
[all...]
/haiku/src/system/kernel/arch/x86/64/
H A Dcpuid.cpp14 get_current_cpuid(cpuid_info* info, uint32 eax, uint32 ecx) argument
16 __cpuid_count(eax, ecx, info->regs.eax, info->regs.ebx, info->regs.ecx,
/haiku/src/system/libroot/posix/musl/math/x86/
H A Dsqrt.s13 and $0x200,%eax
14 sub $0x100,%eax
15 sub %eax,(%esp)
H A Dllrint.s6 mov 4(%esp),%eax
H A Dllrintf.s7 pop %eax
H A Dllrintl.s6 mov 4(%esp),%eax
H A Dexp.s5 mov 4(%esp),%eax
6 add %eax,%eax
7 cmp $0x01000000,%eax
25 mov 8(%esp),%eax
26 add %eax,%eax
27 cmp $0x00200000,%eax
34 mov $0xc2820000,%eax
35 push %eax
[all...]
/haiku/src/system/libroot/os/arch/x86/
H A Dsystem_time_asm.S22 movl 4(%esp), %eax
23 movl %eax, cv_factor
24 movl 8(%esp), %eax
25 movl %eax, cv_factor_nsecs
38 /* load 64-bit factor into %eax (low), %edx (high) */
39 rdtsc /* time in %edx,%eax */
42 mull %ebx /* truncate %eax, but keep %edx */
43 movl %ecx, %eax
45 mull %ebx /*, %eax*/
46 /* now compute [%edx, %eax]
[all...]
H A Datomic.S22 movl 8(%esp), %eax
25 movl %eax, (%edx)
33 movl 8(%esp), %eax
34 xchg %eax, (%edx)
44 movl 12(%esp), %eax
54 movl 8(%esp), %eax
56 xaddl %eax, (%edx)
66 movl (%edx), %eax
67 andl %eax, %ecx
80 movl (%edx), %eax
[all...]
H A Dsyscalls.inc12 * eax has syscall #
23 movl $n, %eax; \
/haiku/src/system/libroot/posix/musl/math/x86_64/
H A Dfabsf.s4 mov $0x7fffffff,%eax
/haiku/headers/libs/x86emu/x86emu/
H A Dprim_asm.h56 "pop eax" \
57 value [eax] \
58 modify exact [eax];
137 "adc eax,ebx" \
140 parm [edi] [eax] [ebx] \
141 value [eax] \
142 modify exact [eax ebx];
173 "add eax,ebx" \
176 parm [edi] [eax] [ebx] \
177 value [eax] \
[all...]
/haiku/src/system/libroot/posix/glibc/arch/x86_64/
H A Dadd_n.S30 xorl %eax, %eax # clear cy
H A Dsub_n.S30 xorl %eax, %eax # clear cy
/haiku/src/system/kernel/arch/x86/32/
H A Dinterrupts.S26 lea THREAD_time_lock(%edi), %eax; \
27 pushl %eax; \
38 movl %eax, %ebx; /* save for later */ \
42 sub THREAD_last_time(%edi), %eax; \
44 add %eax, THREAD_user_time(%edi); \
63 push %eax; \
69 movl 4(%esp), %eax; \
81 movl %eax, %ebx; /* save for later */ \
85 sub THREAD_last_time(%edi), %eax; \
87 add %eax, THREAD_kernel_tim
[all...]
/haiku/src/system/libroot/posix/arch/x86/
H A Dsiglongjmp.S19 mov 8(%esp), %eax
33 push %eax // value
/haiku/src/system/kernel/lib/arch/x86/
H A Darch_string.S19 movl %edi,%eax /* save dest ptr as return address */
56 // %eax, %ecx, and %edx are scratch registers -- we only have to save %edi
61 mov 12(%ebp), %eax
85 // prepare %eax -- the low byte must be copied to the other bytes
87 mov %eax, %edx
88 shl $16, %eax
107 mov 8(%ebp), %eax
/haiku/src/system/libroot/posix/glibc/arch/x86/
H A Daddmul_1.S63 movl (%s1_ptr,%size,4), %eax
67 addl %ebp, %eax
71 addl %eax, %ebp
80 movl %ebp, %eax
H A Dsubmul_1.S63 movl (%s1_ptr,%size,4), %eax
67 addl %ebp, %eax
71 subl %eax, %ebp
80 movl %ebp, %eax
H A Dmul_1.S63 movl (%s1_ptr,%size,4), %eax
67 addl %eax, %ebp
76 movl %ebp, %eax

Completed in 109 milliseconds

12345