att Questions

5

Solved

I tried downloading and using the gcloud bash tool to manage my accounts, however everything I do with the tool is exceptionally slow. It will take MINUTES to reply to a command that is typed. Is t...
Schmaltz asked 1/5, 2015 at 13:53

5

I'm not trying to prompt an Intel vs AT&T war (moot point anyway, now that they both support Intel syntax) or ask which one is "better" per se, I just want to know the practical differences in ...
Presentday asked 10/12, 2012 at 0:59

3

have been following an assembly tutorial on youtube here through AT&T syntax. I have just learned about declaring(if that's the correct term here) a function with the .type directive, such as: ...
Yasmeen asked 14/7, 2015 at 11:35

3

Solved

I'm going through the Intel processor documentation and writing some basic assembly code at the same time. I have both nasm and as (GAS) on my server and I understand the basic differences of both ...
Volturno asked 18/12, 2011 at 2:31

1

I'm studying about basic shell code with orw code. But, in the process, I've got this error message: Error: unsupported instruction mov This is my skeleton code in C and assembly: // File name: o...
Andino asked 10/12, 2021 at 17:58

4

Solved

I have googled enough but could not figure out what the bracket () means. Also, I see some syntax as movl 8(%ebp), %eax Could some someone suggest me some good reference? I have not been able to f...
Naughton asked 25/7, 2011 at 17:25

1

Solved

I used a website to encode this: movw $8, 4(%r8d,%esi,4) and got: encoding (hex): 67 66 41 C7 44 B0 04 08 00 Thanks to you I nearly understand everything except 2 small points: Here we are movin...
Weltanschauung asked 31/7, 2021 at 19:23

1

Solved

In instruction encoding we have an optional field REX prefix which is split like this: Field contains 0100 – fixed constant value W – 1 when using 64-bit data R – expands the Reg field to 4 bit X...
Haga asked 31/7, 2021 at 17:25

1

Solved

I'm new to assembly and I'm learning it from Programming from the Ground Up. On pages 41 and 42, the book talks about indexed addressing mode. The general form of memory address references is this...
Staunch asked 26/5, 2021 at 19:24

2

Solved

I'm trying to learn a bit about assembly. I decided to start by looking at the generated assembly files from simple source code. Of course, I get bombarded by instructions that I have no idea what ...
Folklore asked 27/4, 2021 at 9:50

2

Solved

Having this simple assembly: .text .globl main str: .asciz "%i\n" add: push %rbp mov %rsp, %rbp movl %esi, %eax addl %edi, %eax pop %rbp ret main: mov $1, %esi mov $2, %edi le...
Mishnah asked 9/7, 2020 at 11:37

1

The recent WWDC Apple launched "App Tracking Transparency framework" and will be a part of iOS 14.3: With iOS 14, iPadOS 14, and tvOS 14, you will need to receive the user’s permission t...
Peh asked 19/2, 2021 at 8:40

1

Solved

What does <some symbol>@GOTPCREL(%rip) mean? I've come across this line mov var@GOTPCREL(%rip), %rax and was a bit puzzled about the weird syntax. Can someone please recommend the relevant do...
Stile asked 19/3, 2021 at 18:3

3

Solved

I am trying to understand assembly to be able to solve a puzzle. However I encountered the following instructions: 0x0000000000401136 <+44>: cmpl $0x7,0x14(%rsp) 0x000000000040113b <+49&gt...
Prelate asked 9/6, 2014 at 10:43

1

Solved

I mean something that I write in NASM like this: mov dword [0xA0BF17C], ' : )' I have tried such a things in GNU assembler: movd " : )", 0xB8000 movd $" : )", 0xB8000 movd ' : )', 0xB8000 mo...
Mima asked 13/6, 2020 at 8:1

1

Is there some sort of plugin in Visual Studio code (mac) that can run basic assembly, for example the following: .section .text .globl _start _start: movl $1, %eax movl $0, %ebx int $0x80 As ...
Aletaaletha asked 6/10, 2019 at 0:0

2

Solved

What exactly is the difference resulting from a register being surrounded in parentheses in an operation? For example: movl (%edx), %eax versus movl %edx, %eax Thank you in advance!
Team asked 3/4, 2020 at 2:42

1

I wrote a simple program in c which calls a function called while_loop with arguments 4,3,2. The function is just basically a while loop, I don't think it's really that relevant to my question sinc...
Anyone asked 28/3, 2020 at 18:26

1

The answer is 1. movl 2. movw 3. movb 4. movb 5. movq 6. movw But how do we determine that?
Jellicoe asked 14/9, 2019 at 16:28

3

Solved

I have done some experiments in which I created a local variable of type pointer to function that points to printf. Then I called printf regularly and using that variable as following: #include&lt...
Monomer asked 25/6, 2019 at 18:30

1

Solved

I am trying to load the address of 'main' into a register (R10) in the GNU Assembler. I am unable to. Here I what I have and the error message I receive. main: lea main, %r10 I also tried the f...
Iridize asked 26/7, 2019 at 1:27

1

Solved

I'm in a gdb session to analyze a postmortem crash. I'm looking at disassemble output for a function and I see this: => 0x00007f8d354aed52 <+50>: callq *(%rax) The => indicates that ...
Ilana asked 10/7, 2019 at 23:24

5

Solved

I found the assembly instruction cltd by disassembling code on an Intel architecture. The description I found was, that it clears the %edx register, but I don't understand what happens.... can a...
Brittabrittain asked 18/6, 2013 at 13:37

7

EDIT: I figured out the problem, i think. ADB found out I wasn't on the latest updates (at&t released a stagefright udpate and i didnt know) so ADB didn't let me debug. Everything is fine now. ...
Barbate asked 21/8, 2015 at 4:37

1

Solved

I have trouble finding out what movslq instruction does. Google isn't very helpful and there is no such instruction on this list. Here I have read that MOVSLQ is move and sign-extend a value fro...
Ina asked 9/4, 2019 at 3:41

© 2022 - 2025 — McMap. All rights reserved.