Movatterモバイル変換


[0]ホーム

URL:


Sorry, we no longer support your browser
Please upgrade toMicrosoft Edge,Google Chrome, orFirefox. Learn more about ourbrowser support.
Skip to main content
Stack Overflow
  1. About
  2. OverflowAI
Loading…
Collectives™ on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more about Collectives
7,383 questions
Filter by
Sorted by
Tagged with
1vote
1answer
87views

Why am I getting `-bash: ./animalprogram.bin: No such file or directory` on a fully built and linked program?

OK so I'm trying to create some educational content, and I seem to have come to an impasse myself. I'm building a very simple C / ASM project just to demonstrate linkage. All appears fine and well ...
4votes
0answers
83views

WRITE Access violation on `RET` instruction

I got a report from my application saying:Access violation at address 00000000004FE77A in module 'Sample.exe' (offset FE77A). Write of address 0000000048000300The RIP is the same 00000000004FE77A ...
Alex's user avatar
  • 5,698
0votes
0answers
38views

Meaning of Q in SSE instruction mnemonics

I'm learning SSE programming and I come across this instruction:(V)CVTDQ2PS—Convert Packed Doubleword Integers to Packed Single-Precision FloatingPointI thought CVT means convert, D means Dword, ...
user239216's user avatar
2votes
1answer
56views

u-boot fails to boot for qemu on x86_64 platform

I have compiled u-boot from source for x86_64 platform.git clone https://source.denx.de/u-boot/u-boot.gitcd u-bootmake qemu-x86_64_defconfig The u-boot.bin binary is generated successfully....
user2679476's user avatar
-1votes
1answer
74views

Incorrect result in custom assembly function (converting str to long) [duplicate]

I wanted to rewrite some functions from C to assembly in my project, one of them is converting a string to long long integer.It looks like this: if, for example, the rdi register points to the ...
nononoitsadow's user avatar
2votes
1answer
51views

jmp 0x1234 does not compile in clang with .intel_syntax?

Using clang on macOS with Xcode, the following x86_64 assembly code compiles successfully, which does NOT use Intel Syntax. The jmp instruction jumps to a displacement of 0x1234 bytes from the current ...
0votes
1answer
56views

Can't extract a path from HTTP request in assembly [duplicate]

I am trying to extract a file path from an HTTP request in x86-64 assembly. However, the extracted path appears to be an empty string when I try to use it with the open syscall. The HTTP request is ...
S7AN's user avatar
-1votes
1answer
91views

Why these ascii characters in this string in asm code will automatically subtract 1?

org 0x7c00BOOTDRIVE equ 0x9000flatcode equ 0x0008 flatdata equ 0x0010 ...
0votes
0answers
26views

macOS Assembly: Preventing Segmentation Fault When Calling ___error() in System Call Error Handling [duplicate]

I'm working on implementing a custom read function in x86_64 assembly for macOS and encountering an intriguing issue with error handling.When implementing system call error management, I need to set ...
1vote
0answers
75views

Calling dlopen by setting the registers using ptrace throws SIGSEGV - Intel 64

I'm trying to load a shared library (controller process) into another process (target) using ptrace.NOTE: Both the controller and target are using the same version of libc. /usr/lib/libc.so.6I'm ...
3votes
1answer
113views

Why does MSVC x64 C use 8-byte int32 parameter alignment instead of 4-byte?

I'm writing a C compiler as a hobby and would like it to be able to link against C static libraries produced by MSVC.I read the Microsoft x64 ABI, and it doesn't seem to have a strongly mandated ...
0votes
1answer
74views

Using Win32 API in assembly crashes with exit code -1073741819 (0xC0000005) - access violation

I'm trying to rewrite the following C code in x86_64 assembly as a learning exercise. It calls the Win32 API functions.#include <windows.h>__attribute__((section(".rdata"))) ...
2votes
1answer
107views

Intel ICX C++ compiler often generates slower code

We are trying to switch from the old Intel icc/icl compiler to the new icx compiler. After seeing a substantial performance degradation (in the order of 30%), and trying all the optimization options ...
0votes
0answers
25views

Weird Behavior in Assembly, printing doesn't work when I loop it [duplicate]

I am learning assembly 64 bit in windows and I made a bubble sort algorithm but it doesn't work when I put the print in a loop instead of copying and pasting the same line with increasing amounts of ...
1vote
0answers
98views

Setting up paging and managing memory in low-level C (kernel) without OS

I have an issue where I think I just misunderstands how this works.In low-level C code (aka running C code without an OS) I have to create a way for memory to be managed, providing my own malloc ...

153050per page
1
2345
493

Related Tags

 × 4774
 × 1229
 × 1178
 × 1053
 × 941
 × 726
 × 661
 × 310
 × 298
 × 257
 × 251
 × 246
 × 229
 × 223
 × 202
 × 197
 × 196
 × 192
 × 191
 × 186
 × 165
 × 156
 × 153
 × 144
 × 140
more related tags

Hot Network Questions

more hot questions
Newest x86-64 questions feed

[8]ページ先頭

©2009-2025 Movatter.jp