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
1.2k views
1 answer
    I'm trying to figure out how to use scanf to get user input. I know to use printf: all I have to do is ... the placed at the address of "input." See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
792 views
1 answer
    I was looking through the Intel software developer manual when I encountered the ADCX instruction, which was ... to the instruction repertoire. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
946 views
1 answer
    how do I translate mov [ebx], al from NASM to GAS? I tried mov %al, (%ebx) but it does segmentatiob fault. ... ? Any answer would be helpful :) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
680 views
1 answer
    Being a beginner and self-learner, I am learning assembly and currently reading the chapter 3 of the book, The C ... bytes at the same time? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
765 views
1 answer
    Look at this assembler code. It is designed for 32 bits x86 and will be compiled by nasm ... ... for fetching my function parameters ? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
897 views
1 answer
    I have a project involving hand-written assembly-AT&T syntax, works fine with GCC, but not done by me plus I ... there's a documented approach.) See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
888 views
1 answer
    A 64 bit CPU (amd64) supports 32 bit Intel instructions in the compatibility mode. Also, a 64 bit Linux installation ... any use-cases for it. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
637 views
1 answer
    The x86 INVD invalidates the cache hierarchy without writing the contents back to memory, apparently. I'm curious, ... held in memory anymore. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
759 views
1 answer
    I am looking for a way to print an integer in assembler (the compiler I am using is NASM on Linux), ... one of my first assembler programs). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
851 views
1 answer
    I've a working XML Web service written in ASP.Net. Now I need to reference certain assemblies lying in a ... or install it into the GAC See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
840 views
1 answer
    I'm currently disassembling some small C programs made in Visual Studio 2012 Express, and i've noticed a trend ... logic behind it. Thank you. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
870 views
1 answer
    It's not a big secret that x86 (and x86_64) processors have not only the single-byte NOP instruction, but also ... does NOPL do in x86 system? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
816 views
1 answer
    What are the syntax differences between the NASM and MASM assemblers? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    Why do the x86 instruction INC (increment) and DEC (decrement) not affect the CF (carry flag) in FLAGSREGISTER? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.0k views
1 answer
    Say I'm writing a routine in x86 assembly, like, "add" which adds two numbers passed as arguments. For the ... it produce the exact same result? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
825 views
1 answer
    I am working through Kip Irvine's "Assembly Language for x86 Processors, sixth edition" and am really enjoying it. ... to imply ? Thanks, Scott See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
778 views
1 answer
    Code1: vzeroall mov rcx, 1000000 startLabel1: vfmadd231ps ymm0, ymm0, ymm0 vfmadd231ps ymm1, ymm1, ymm1 ... 1000001 Code2: 5000072 5000072 17000001 5000010 5000014 4999978 1000002...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
810 views
1 answer
    When I'm handwriting assembly, I generally choose the form lea eax, [eax+4] Over the form.. add eax, 4 ... the latter form over the former? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
984 views
1 answer
    I wrote a simple program in c which calls a function called while_loop with arguments 4,3,2. The ... absolute memory addresses or relative? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.5k views
1 answer
    How can i Multiply two 32bit digits in assembly or one 32bit another 16bit, anyone knows the algorithm ? data1 ... 32bit mov ax,data2 Mul data1 See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
667 views
1 answer
    Took a while but finally got to square 1 in 16 bit graphics. Here I clear the screen and draw a single ... musicalglass/KAOS KAOS The no BS OS See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
735 views
1 answer
    I recently started learning assembly language for the Intel x86-64 architecture using YASM. While solving one of the tasks ... the OP's asm!). See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
934 views
1 answer
    I want to print the below set of datablock(s) in a different color other than the usual white text color which can be ... 25 26 27 28 29 30 31$" See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
960 views
1 answer
    I'm trying to write a subroutine that adds two large numbers in x86 assembly (MASM). The numbers are pointed at ... the syntax that I'm using? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
1.1k views
1 answer
    I made a program that reads a string and converts it into a number. A string representation of the number ... int 21h code ends end start See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
760 views
1 answer
    I watched a video on an 8-bit pc being fed a program - manually, using physics switches. The fed program ... addresses 12 and 14 are undefined. See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
752 views
1 answer
    As somebody new to assembly, I use gcc for reverse engineering. But now I ran in a somehow funny problem: I try ... (in assembly) in this case? See Question&Answers more detail:os...
asked Oct 17, 2021 in Technique[技术] by 深蓝 (71.8m points)
0 votes
691 views
1 answer
    If compiler converts high-level language to machine code, why do we even need assembler? Are there any assembly ... t use compiler for that? 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

...