Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Login
Remember
Register
Ask
Q&A
All Activity
Hot!
Unanswered
Tags
Users
Ask a Question
Ask a Question
Categories
All categories
Topic[话题] (13)
Life[生活] (4)
Technique[技术] (2.1m)
Idea[创意] (3)
Jobs[工作] (2)
Others[杂七杂八] (18)
Code Example[编程示例] (0)
Recent questions tagged assembly
0
votes
1.0k
views
1
answer
assembly - Is there any difference in between (rdtsc + lfence + rdtsc) and (rdtsc + rdtscp) in measuring execution time?
As far as I know, the main difference in runtime ordering in a processor with respect to rdtsc and rdtscp instruction ... ... ... rdtscp lfence See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.3k
views
1
answer
assembly - Passing Arguments C -> NASM -> C
admittedly this is some homework help, but a specific problem I can't seem to get past. I'm trying to write a ... EDX ;restore EDX pop EBP ret See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
985
views
1
answer
assembly - Intel JCC Erratum - should JCC really be treated separately?
Intel pushed microcode update to fix error called "Jump Conditional Code (JCC) Erratum". The update microcode ... separately from other JCC? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.2k
views
1
answer
assembly - Is mov r64, m64 one cycle or two cycle latency?
I'm on IvyBridge, I wrote the following simple program to measure the latency of mov: section .bss align 64 ... mov latency is still 1 cycle) See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.2k
views
1
answer
assembly - How to populate a 64 bit register with duplicate byte values
I'm doing some x64 assembly with Visual C++ 2010 and masm ('fast call' calling convention). So let's say I ... my compiler, I'm just learning. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.2k
views
1
answer
assembly - Subtracting registers with an LEA instruction?
Does the LEA instruction support negative displacement? mov rax, 1 lea rsi, [rsp - rax] When I use the above ... you in advance for your help! See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.2k
views
1
answer
assembly - Disassembly view of C# 64-bit Release code is 75% longer than 32-bit Debug code?
EDIT I tested release in 32 bit, and the code was compact. Therefore the below is a 64 bit issue. I'm ... bits return (crc ^ 0xffffffff); } See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly - Get the upper half of the EAX register
In x86 assembly language, is there any way to obtain the upper half of the EAX register? I know that the AX ... of eax into bx as well. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly - Understanding TLB from CPUID results on Intel
I'm exploring leaf 0x02 of the cpuid instruction and came up with a few questions. There is a table in the ... is the TLB cache core private? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.2k
views
1
answer
assembly - How to detect architecture in NASM at compile time to have one source code for both x64 and x86?
I am looking for some preprocessor functionality in nasm that would allow having one source code for both x86 ... same for both architectures. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly - LOOP, LOOPE, LOOPNE?
What's the difference between the assembly instructions LOOP, LOOPE and LOOPNE? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly - What are the 128-bit to 512-bit registers used for?
After looking at a table of registers in the x86/x64 architecture, I noticed that there's a whole section of ... in order to manipulate them? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.0k
views
1
answer
assembly - How does the instruction decoder differentiate between EVEX prefix and BOUND opcode in 32-bit mode?
In 32-bit mode Intel solves the VEX prefix vs LDS/LES conflict by inverting the high bits of register extension, ... Which of them is correct? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.2k
views
1
answer
assembly - Is a shift instruction faster than an IMUL instruction?
Which one is faster - val = val*10; or val = (val<<3) + (val<<2); How many clock cycles does imul take when compared to shift instruction? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
960
views
1
answer
assembly - :lower16, :upper16 for aarch64; absolute address into register;
I need to put a 32-bit absolute address into a register on AArch64. (e.g. an MMIO address, not PC-relative). ... , but I'd rather avoid that. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly - Multiplying two values and printing them to the screen (NASM, Linux)
I keep reading that in order for one to perform integer/floating point division on a register, the register(s) ... it technically doesn't 'ret' See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly binding redirect - F# PowerPack Target Runtime
The pre-built binaries for the F# PowerPack are compiled against the .NET 2.0 runtime. If I have a .NET 4.0 ... source for the .NET 4 runtime? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.3k
views
1
answer
assembly - Get argv[2] address in assembler x64
edi is argc, rsi is argv 0x0000000000400535 <+8>: mov %edi,-0x4(%rbp) 0x0000000000400538 <+11>: mov %rsi,-0x10(%rbp ... r10, [r9+0x10] jmp r10 See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly - Reverse byte order in XMM or YMM register?
Let's say I want to reverse the byte order of a very large byte array. I can do this the slow way using ... order in an XMM or YMM register? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly - Why MOV AH,1 is not supported in 64 bit mode of intel microprocessor?
In the book "THE INTEL MICROPROCESSORS" of Barry B. Brey, it is written that MOV AH, 1 is not allowed in 64 ... the problem with MOV AH, 1 ? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.4k
views
1
answer
assembly - x86-64: Cache load and eviction instruction
For x86-64 architecture, is there an instruction that can load data at a given memory address to the cache? ... like a cache line identifier)? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.2k
views
1
answer
assembly - How to interpret this address -0x80(%rbp,%rax,4)
I'm currently trying to learn assembly language (and the effects of different compiler options) by analyzing simple C ... local array in a loop. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.0k
views
1
answer
assembly - how can i read value from register using C++
I am writhing code with C++ for a calculator ,but it display ead results with assembly,I want to store the value ... find it with C language ... See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.3k
views
1
answer
assembly - ARM: Is "STMDB SP!, {R0-R8}" (aka PUSH {R0-R8}) an atomic operation?
I wonder if STMDB SP!, {R0-R8} is an atomic operation in ARM(v7), because it looks quite complex to ... processor continues with R0-R4? Thanks. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.2k
views
1
answer
assembly - How to load memory address without using pseudo-instructions?
I'm trying to learn MIPS assembly language by myself using MARS simulator. For didactic reasons I'm limiting myself ... How? Thanks in advance! See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly - Why do we need stack allocation when we have a red zone?
I have the following doubts: As we know System V x86-64 ABI gives us about a fixed-size area (128 bytes) in ... -1024], rcx add rsp, 1024 ret See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
949
views
1
answer
assembly - How can linux boot code be written in C?
I'm a newbie to learning OS development. From the book I read, it said that boot loader will copy first MBR into ... but I can't see the detail. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.1k
views
1
answer
assembly - Is the i386 instruction "div ah" pointless?
From https://www.felixcloutier.com/x86/div: ... temp ← AX / SRC; IF temp > FFH THEN #DE; (* Divide error ... over FFH Do I miss something here? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
Page:
« prev
1
2
3
4
5
6
7
8
...
24
next »
Ask a question:
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question
Just Browsing Browsing
[1] 前端table设置rowspan的问题?
[2] react项目,input如何在外部如何修改value值?
[3] Why isn't TinyMCE media plug-in saving my Alternate Source Url selection?
[4] 怎么让ant的ant-message组件生成的元素在
中,而不是body标签里
[5] 项目前后分离的话 登录的判断是放在前端项目还是后端项目??
[6] aws appsync - Generate GraphQL extended schema
[7] react频繁渲染背景图性能开销
[8] angular - cd.markForCheck and cd.detechChanges not updating children
[9] css - How do I remove spacing around elements inside ".container-fluid"?
[10] Vue项目,JS怎么控制一自然天里只在第一次打开的时候触发某个事件?
2.1m
questions
2.1m
answers
60
comments
56.8k
users
Most popular tags
javascript
python
c#
java
How
android
c++
php
ios
html
sql
r
c
node.js
.net
iphone
asp.net
css
reactjs
jquery
ruby
What
Android
objective
mysql
linux
Is
git
Python
windows
Why
regex
angular
swift
amazon
excel
algorithm
macos
Java
visual
how
bash
Can
multithreading
PHP
Using
scala
angularjs
typescript
apache
spring
performance
postgresql
database
flutter
json
rust
arrays
C#
dart
vba
django
wpf
xml
vue.js
In
go
Get
google
jQuery
xcode
jsf
http
Google
mongodb
string
shell
oop
powershell
SQL
C++
security
assembly
docker
Javascript
Android:
Does
haskell
Convert
azure
debugging
delphi
vb.net
Spring
datetime
pandas
oracle
math
Django
联盟问答网站-Union QA website
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
在这了问答社区
DevDocs API Documentations
Xstack问答社区
生活宝问答社区
OverStack问答社区
Ostack问答社区
在这了问答社区
在哪了问答社区
Xstack问答社区
无极谷问答社区
TouSu问答社区
SQlite问答社区
Qi-U问答社区
MLink问答社区
Jonic问答社区
Jike问答社区
16892问答社区
Vigges问答社区
55276问答社区
OGeek问答社区
深圳家问答社区
深圳家问答社区
深圳家问答社区
Vigges问答社区
Vigges问答社区
在这了问答社区
DevDocs API Documentations
广告位招租
...