Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

Recent questions tagged assembly

0 votes
953 views
1 answer
    Let's say that I want to put two 32 bit registers EAX as low 32 bit word and EDX as high 32 bit ... x86-64 instruction that does this operation? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.9k views
1 answer
    Question What is the (non-trivial) difference between the following two x86 instructions? 39 /r CMP r/m32,r32 ... and why this even exists. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
971 views
1 answer
    I have a few lines of assembler arm code in an .s file. Just a few routines i need to call. It works fine when ... ... asm code here ... #endif See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    When i type ld -m elf_i386 -o loop loop.asm, i get the error stated in the title, any idea what causes it? ... mov dl,$numA mov ah,2 int 21h See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    Please look at the following program, the error is invalid effective address calculation and i have mentioned that ... mov ax,0x4c00 int 0x21 See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    Im trying to run this shellcode but it throws me: "Segmentation fault" error The shellcode is the following: ... get no error Thank you See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I want to know how to properly do it, because the way I'm doing it isn't working. When setting the BP register ... 't work. Please give a hand. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
823 views
1 answer
    After reviewing the Intel Digital Random Number Generator (DRNG) Software Implementation Guide, I have a few ... different information. Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Really bizarre gcc quirk. Check this out: main() { int a[100]; a[0]=1; } produces this assembly: 0: ... s "redzone"? What's happening precisely? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Sometimes I encounter code that reads TSC with rdtsc instruction, but calls cpuid right before. Why is calling ... two instructions in sequence? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    recently i checked the Instruction Set for an ARM Cortex-M3 processor. For example: ADD <Rd>, <Rn>, <Rm> What ... so. But what exactly? Thanks! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm having bit of a difficulty understanding what sw and lw do in a MIPS program. My understanding of the topic is ... such as sw $t0, 32($s3). See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.2k views
1 answer
    I've got an application written in pure C, mixed with some functions that contain pure ASM. Naked attribute ... address of such ASM function. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.7k views
1 answer
    I have an assembly hello world program for Mac OS X that looks like this: global _main section .text _main: mov ... know when to use each one? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
925 views
1 answer
    every c program is converted to machine code, if this binary is distributed. Since the instruction set of a ... back the C original program? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I'm looking to shift a register bits n times to the left specified with another register. For example, something ... not known at assemble-time? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
814 views
1 answer
    I'm looking at some compiler output for a MIPS platform and struggling to understand how a function returns and ... executed after the jump?! See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
906 views
1 answer
    I'm familiar with memory references of this form: XXX ptr [base + index * size + displacement] where XXX ... and then offset into that? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
908 views
1 answer
    I'm writing a Multiboot compliant ELF executable containing my 32-bit kernel. My primary problem is that I' ... files /bin Kernel Executable See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
910 views
1 answer
    I have allocated a certain amount of memory and would like to assign the location of this memory to variable ... to access the allocated memory? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    This is an issue that didn't used to ever occur. I'm pretty convinced it's probably an issue with my ... assembly needs for a long time. See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Why does the initialization of the DS and ES registers has to be done manually by the programmer? For example: MOV AX ... -DOS). Why is this so? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I'm implementing binary translation and have to deal with sequences of NOPs (0x90) with length about 16 opcodes. ... at start of such sequences? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
950 views
1 answer
    Why does the initialization of the DS and ES registers has to be done manually by the programmer? For example: MOV AX ... -DOS). Why is this so? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm implementing binary translation and have to deal with sequences of NOPs (0x90) with length about 16 opcodes. ... at start of such sequences? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I have learned how to work with 80x86 assembler, so in bit-wise shift operation, I faced a problem with SAL ... What is the difference of them? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I'm trying to work with C and Assembly (intelx8086) language. I'm also using one class that was implemented by ... much memory does "enum" take? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
839 views
1 answer
    I read this article: http://static.patater.com/gbaguy/day3pc.htm It includes the sentence DON'T EVER CHANGE CS!! ... ? Why is it so dangerous? See Question&Answers more detail:os...
asked Oct 24, 2021 in Technique[技术] by 深蓝 (71.8m points)
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...