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
673 views
1 answer
    This is really a linker / object-file question, but tagging with assembly since compilers never do this. ( ... true, though, for Nehalem. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    For example if I have a variable named test declared like: test db 0x01 ;suppose the address is 0x00000052 If ... the first or second operands? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
939 views
1 answer
    $$ is defined as current segment address in NASM. But what's the real meaning of it? I wrote two asm files ... with them? Thanks a lot! See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I'm trying to figure out a reason for the scale factor not being present in the x86 16-bit addressing modes ... 16- and 32-bit addressing modes See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
823 views
1 answer
    A prior related question was answered. Thank you! However this creates a new question for me. Why does nasm ... two different locations? Why? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
895 views
1 answer
    I've got that question on my Computer Architecture Exam on Informatics last semester : "Why 'DIV EDX' ... mechanism which generates exception? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
965 views
1 answer
    GNU assembler appears to have some means of controlling the alternative forms of the opcode being emitted for ... any relevant documentation. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
754 views
1 answer
    I am attempting to write my own OS kernel, and have been having some issues getting the linking to work properly ... Correct me if I'm wrong. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
782 views
1 answer
    I'm trying to code a few high-performance assembly functions as an exercise, and have encountered a weird segfault ... Thanks for all the help. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
943 views
1 answer
    If 8 bits is a byte two bytes is a word four bytes is a dword 8 bytes is a qword What is a good name for 16 bytes? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
734 views
1 answer
    If you look at documentation of operations like cmp, test, add, sub, and and, you will notice that ... shaking off for compatibility reasons? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
798 views
1 answer
    When writing x86-64 user-space assembly and comparing two pointer values, should we use signed conditions such as ... top of the address space. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
839 views
1 answer
    I have a simple (but performance critical) algorithm in C (embedded in C++) to manipulate a data buffer... the ... (please pardon the pun...)? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I decided yesterday to learn assembly (NASM syntax) after years of C++ and Python and I'm already confused about the ... best way. I'm curious. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    I tried to figure out the details of MACRO current in Linux kernel. The final assembly code of current is: ... need some references about this. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
960 views
1 answer
    I'm looking through an Intel Instruction Set manual, and it looks like there are 2 different forms of ADC ... attempts at googling it failed. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
787 views
1 answer
    I'm using x86 assembly with the Irvine library. What's the easiest way to check if a register value is equal to zero ... ebx = !!ebx would in C. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
943 views
1 answer
    My information is coming from here. The assignment asks for a program that reads in no more than 20 characters, ... '$' code ends end start See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
816 views
1 answer
    When I disassemble the .text sections of some binaries using objdump (with both AT&T and Intel syntaxes), I ... of instructions? Thank you. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
905 views
1 answer
    ARM assembly has SWI and SVC instructions for entering into 'supervisor mode'. What confuses me is, why there ... architecture, and other after? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
829 views
1 answer
    So let's say that I've got a result of mul in dx:ax, how can I save it to dword [ebx]?? I have the ... half) to two dwords pointed to by [ebx]. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
741 views
1 answer
    I have read different things about how a memory barrier works. For example, the user Johan's answer in this ... memory barrier. Am I correct? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
983 views
1 answer
    Example: 0xAABBCCDD will turn into 0xDDCCBBAA My program crashes, due to Access Violation exception right in the ... better solution for this? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.4k views
1 answer
    So I'm trying to convert a string to a number so I can add another number to it later. here is what I have ... ax, '0' add [Num1plusNum2], ax See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
826 views
1 answer
    I am learning 8086 and there is one particular question which is bothering me and I have not been able to find ... this design choice in 8086? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.3k views
1 answer
    I am trying to assign variable to register here is the code: ORG 100h var1 DB 10 ; var2 DB 20 ; MOV BX, ... apologise if it's a stupid question. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
774 views
1 answer
    While learning x86-64 assembly, I came across my first incompatibility between Intel 64 and AMD64 implementations of ... or some third party See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
747 views
1 answer
    Writing a ZMM register can leave a Skylake-X (or similar) CPU in a state of reduced max-turbo ... AVX512BW excludes KNL is irrelevant. See Question&Answers more detail:os...
asked Oct 17, 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

...