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
2.5k
views
1
answer
assembly - Removing Spaces from String in MIPS
I am currently trying to write a code that takes in a string and outputs that same string with no spaces. ... program li $v0, 10 syscall #end See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.9k
views
1
answer
assembly - How is it possible that BITWISE AND operation to take more CPU clocks than ARITHMETIC ADDITION operation in a C program?
I wanted to test if bitwise operations really are faster to execute than arithmetic operation. I thought they ... than the arithmetic operator. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.1k
views
1
answer
assembly - 32-bit extended multiplication via stack
This is the code I have been using to implement extended multiplication of two 32-bit numbers. Is there a way ... mov ax, 0x4c00 int 0x21 See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.3k
views
1
answer
assembly - NASM - How do you move an 8-bit register into a full 32-bit register?
I am writing NASM assembly code, and have to do some indexed addressing. I have the index stored in $al, but x86 won' ... + char) -> bx pop ecx See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.0k
views
1
answer
assembly - X86 IDIV sign of remainder depends on sign of dividend for 8/-3 and -8/3?
Can anyone explain for me why the sign of the remainder is different in these cases? Is this an emulator bug or do ... = -2 remainder(AH) = -2 See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.1k
views
1
answer
assembly - Using 8-bit registers in x86-64 indexed addressing modes
Is it possible to use the 8-bit registers (al, ah, bl, bh, r8b) in indexed addressing modes in x86-64? ... same answer as above: probably not. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.2k
views
1
answer
assembly - Difference between MOV r/m8,r8 and MOV r8,r/m8
By looking at intel volume of instructions, I found this: 1) 88 /r MOV r/m8,r8 2) 8A /r MOV r8,r/m8 ... on what basis did NASM chosed the first? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.8k
views
1
answer
assembly - Is there any way to write for Intel CPU direct core-to-core communication code?
I want to ping threads to all cores in two CPU socket, and write communications between the threads ... for-parallel-architectures/topic/700477 See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.4k
views
1
answer
assembly - Compile ASM and C with ASM for debugging
I have two small files that I want to compile in CMake for debugging it with CLion and GDB main.c int ... compile with a CMakeList.txt ? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.5k
views
1
answer
assembly - RISC-V build 32-bit constants with LUI and ADDI
LUI (load upper immediate) is used to build 32-bit constants and uses the U-type format. LUI places the ... a 32bits immediate to register? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.5k
views
1
answer
assembly - invalid effective address calculation
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)
assembly
0
votes
2.5k
views
1
answer
assembly - Why does syscall compile in NASM 32 bit output while popa does not compile in 64 bit?
The Intel manual says that: the syscall instruction is invalid for compatibility mode (32-bit) popa is invalid for ... (should be OS agnostic). See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.2k
views
1
answer
assembly - What does it mean that "registers are preserved across function calls"?
From this question, What registers are preserved through a linux x86-64 function call, it says that the following ... what I may be missing. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.3k
views
1
answer
assembly - Hello world in NASM with LINK.EXE and WinAPI
I'm trying to get a simple Hello world program in NASM to run. I want to print to the console without ... wrong? EDIT: Fixed calling convention See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.3k
views
1
answer
assembly - ARM AArch64 stack management
Is there no ability to have a 64 bit stack for ARMv8? I understand there is no push and pop instructions ... work when operating in AArch64. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.5k
views
1
answer
assembly - Print a number in NASM - building an x86 Bootsector
I just started messing around with assembly language and I tried to print the number 9 on console. Here is ... interrupt code should I use? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.0k
views
1
answer
assembly - Does x64 support imply BMI1 support?
It it safe to assume that x64 builds can use TZCNT without checking its support through cpu flags? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.1k
views
1
answer
assembly - use slt to check unsigned integer addition carry flag mips
I'm new to Assembly and I know this is a fair easy question. I supposed to do unsigned integer addition for ... . Any help would be appreciated. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.9k
views
1
answer
assembly - Why does GCC chose dword movl to copy a long shift count to CL?
In the third chapter of Computer System: A Programmer's Prespective, an example program is given when talking ... dealing with long integer. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.4k
views
1
answer
assembly - Multiplying 32 bit two numbers on 8086 microprocessor
I have code example for multiplying two 16 bit numbers on 8086 and trying to update it for two 32 bit ... arbitrarily? Thanks in advance. See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.3k
views
1
answer
assembly - What is the "relationship" between addi and subi?
I'm supposed to answer this question. After some research it says that add and sub have the same opcode and differ ... as addi rB, rA, -IMMED See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.4k
views
1
answer
assembly - EMU8086 dividing 32 bit number by a 16 bit number gives unexpected 0 remainder
I was trying to divide (Unsigned) 8A32F4D5 by C9A5 using emu8086 tool. I expected the quotient to be AF73H and ... MAIN The output in EMU8086: See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.4k
views
1
answer
assembly - NASM x86_64 scanf segmentation fault
I am new to nasm and I really want to learn how to store a number with user input. I can't get rid ... format call scanf ret Thanks in advance! See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.0k
views
1
answer
assembly - why cannot define same local label in multiple functions?
Want to define same local label in multiple functions: .text .globl main func: push %rbp mov %rsp, %rbp .a: ... . Do you have any clues? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.1k
views
1
answer
assembly - Why any modern x86 masks shift count to the 5 low bits in CL
I'm digging into left and right shift operations in x86 ASM, like shl eax, cl From IA-32 Intel Architecture ... explanation would help a lot! See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.8k
views
1
answer
assembly - INT 13, 2 hanging on x86 real mode when trying to read sectors from floppy drive
I'm writing a DOS clone for a school project and I'm trying to read some sectors from a floppy drive (mainly ... that I've not posted here? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
1.8k
views
1
answer
assembly - About the memory layout of programs in Linux
I have some questions about the memory layout of a program in Linux. I know from various sources (I ... segmentation fault earlier at 0x804a000? See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
0
votes
2.1k
views
1
answer
assembly - Switch from protected mode to real mode in a DOS EXE program
I learned to switch to protected mode with a simple DOS based bootloader. This loader loads kernel.bin into a ... ,4c00h ;Exit process int 21h See Question&Answers more detail:os...
asked
Oct 24, 2021
in
Technique[技术]
by
深蓝
(
71.8m
points)
assembly
Page:
1
2
3
4
5
6
...
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] react-redux高阶组件不会重新渲染的问题
[2] ASP.Net Web Application using .Net Framework v5.0: IFormFile always null when passing from view to controller
[3] 现在有必要选择spring webflux吗?
[4] json - How to exclude the result of the specified keyword
[5] How to get rid of Invalid double error in flutter
[6] syntax - What is the Java ?: operator called and what does it do?
[7] 关于浏览器空闲的时候,到底是什么时候?
[8] typescript - Why do type assertions not validate as strongly as type declarations?
[9] Laravel Livewire: Setting model property does not refresh the view
[10] 如何实现一个pc版本可视化编辑器?
2.1m
questions
2.1m
answers
60
comments
57.0k
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
广告位招租
...