x86
Link ISR to vector interrupt 80x86 32bit AT&T assembly
I work on Intel-Atom 32bits (Assembly AT&T). I want to link my ISR to a vector interrupt 0x33: push %ebp//save the context to swith back[详细]
2023-04-09 07:28 分类:问答How to create an IDT using LIDT I work on Intel-Atom 32bits (Assembly AT&T)
How to create an IDT using LIDT I work on Intel-Atom 32bits (Assembly AT&T). I am using the MocroC OSII as an OS,[详细]
2023-04-09 04:51 分类:问答I'm not exactly sure what this x86 Add instruction is doing
I\'m not exactly sure what this add instruction is doing: add 0x0(%rbp,%rbx,4),%eax If it were: add %rbx,%eax[详细]
2023-04-08 19:10 分类:问答what does "movl (%esi, %ecx, 4), eax" imply?
What does it mean to have these 开发者_如何学C3 instructions as the source of a movl instruction?[详细]
2023-04-08 17:21 分类:问答How does x86 eflags bit 18 (alignment check) work? (Related to check for 386 vs. 486 and later.)
I\'ve read that if eflags bit 18 (AC - alignment check) can be modified, you know the CPU is a 486 or newer.On the 386, the bit resists modification.[详细]
2023-04-08 12:13 分类:问答Handling TLB Misses
I want to see which pages are being accessed by my program. Now one way is to use mprotect with SIGSEGV开发者_开发知识库 handler to note down pages which are being accessed. However, this involves the[详细]
2023-04-08 11:24 分类:问答Segmentation Fault when compiling in Red hat but working fine with ubuntu
Here is a code that i am executing. its giving the desired output on ubuntu with NASM 2.08 but gives a segmentation fault when compiled with Red Hat 7.3 running NASM 0.98.22[详细]
2023-04-08 10:16 分类:问答Simple assembly algorithm to find the largest number - Why is it returning the wrong number?
I am working on a simple routine that will loop through a list of numbers and return the max. It is always returning 11 and I cannot see what\'s wrong with my logic. To test the routine I have a list[详细]
2023-04-07 14:44 分类:问答Howto define a buffer for IA32 sys_read call
I\'m having trouble using the sys_read system call from an IA32 Assembler program on Linux. What is the correct way to defin开发者_运维知识库e a buffer?[详细]
2023-04-07 12:20 分类:问答What does the jg instruction do on classic Intel processors?
开发者_如何学编程For the code: cmp $5, %eax jg 804940f This compares by doing %eax - $5 and then sets a flag(s) if it\'s greater, equal, or negative, correct? Then jg will proceed to that address[详细]
2023-04-07 04:32 分类:问答