Questions tagged [i386]

Use i386 tag for questions related to 32-bit implementation of x86 ISA

The 32-bit version of x86 instruction set architecture (ISA) is now called i386, after Intel's first 32-bit processor, the 80386, which is also known as i386.

For general x86 ISA questions, which are not specific to 32/64 bits, use tag instead.

279 questions
8
votes
6 answers

Debian login loop

If I try to login on a Debian with XFCE it gets a blackscreen for a few seconds, then it flashes really short and puts me back at the login screen. The strange thing is, if I go into a terminal using Ctrl + Alt + F1 (Or any other F key) I can…
Sativa
  • 348
  • 1
  • 2
  • 14
8
votes
4 answers

Update to iOS 9 error: i386 Unsupported architecture

I have a project which will generate framework. My architecture setting is: standard architecture(armv7, arm64) i386 Valid architecture: armv7, arm64, i386. In iOS 8.4, I can build it successfully without any problem. However, when I update to…
xiaoyaoworm
  • 1,052
  • 4
  • 13
  • 32
8
votes
2 answers

GCC extended asm, struct element offset encoding

I am trying to write a small piece of my code in GCC style extended asm (x86-64 target) and am having trouble encoding struct offsets. I have a struct s with a member size_t a[], a pointer to such a struct and an index both of which are generated…
Sergey L.
  • 21,822
  • 5
  • 49
  • 75
7
votes
3 answers

Error Message: Undefined symbols for architecture i386 using ZBar Libraries

I'm having a problem right now with a project I'm trying to build in Xcode 4.0, hopefully someone can shed some light on this for me.. I'm trying to use the ZBar SDK and have followed the instructions outlined in the guideline outlined here:…
ephilip
  • 1,015
  • 1
  • 10
  • 23
7
votes
5 answers

Division and modulus using single divl instruction (i386, amd64)

I was trying to come up with inline assembly for gcc to get both division and modulus using single divl instruction. Unfortunately, I am not that good at assembly. Could someone please help me on this? Thank you.
user405725
7
votes
2 answers

Two printfs print the same string differently

I am trying to create a library that handles big integer arithmetic. Big integers are stored in a struct: typedef struct BigInt BigInt; struct BigInt { uint32_t size; uint32_t *data; }; the first member is an uint32_t containing the length…
Ruben
  • 524
  • 1
  • 6
  • 14
7
votes
2 answers

How to translate "pushl 2000" from AT&T asm to Intel syntax on i386

I'm trying to translate the following from AT&T assembly to Intel assembly: pushl 2000 Now this compiles down to: ff 35 d0 07 00 00 pushl 0x7d0 But no matter what I try, I cannot get the same in Intel synax, I've tried: intel…
Sverre Rabbelier
  • 1,456
  • 2
  • 16
  • 22
6
votes
2 answers

i386 vs. AMD64 ABI Differences

Where can I find all the differences in data types between the i386 & AMD64 Application Binary Interface(ABI)s ? I know that the long type is 32-bit in i386 ABI & 64-bit in AMD64. Is this correct?
user191776
6
votes
0 answers

Xcode build enables BITCODE for a framework only on Device but not on Simulator

I have 'Enable Bitcode' set to YES in Build Settings, and have also tried setting 'fembed-bitcode' in 'Custom Compiler Flags'. When I build the project with the 'Device' selected, and try the command from command line otool -l…
Naishta
  • 11,885
  • 4
  • 72
  • 54
6
votes
1 answer

How can the timer interrupt be 0x08 if the first 32 interrupts are reserved for exceptions?

I am developing an embedded program for an intel i386, and I am trying to figure out how to use the hardware timer. I have read here (and other places) that the timer interrupt is 0x08, but this page (And various other sources) say that the first 32…
ItsAmy
  • 844
  • 1
  • 6
  • 20
6
votes
1 answer

Unable to install .NET Core on i386 Ubuntu 16.04 Xenial

I was following the steps mentioned at https://www.microsoft.com/net/core#ubuntu and other places my using i386 instead of amd64. But encountering the following errors. Please help. With i386 sudo apt-get update [...] Get:4…
Dileep.M
  • 114
  • 7
6
votes
1 answer

Git Installation on OSX: Cannot exec 'git-credential-osxkeychain': Bad CPU type in executable

I am attempting to follow the directions on https://help.github.com/articles/set-up-git for getting up and running with git. I installed version 1.8.4.2. However when I try to use the OS X Keychain Helper I get: fatal: cannot exec…
Nathan Weyer
  • 101
  • 6
6
votes
3 answers

How to disassemble movb instruction

I am writing a disassembler and I was reviewing the instruction format (and doing some disassembling by hand) and I ran into an instruction that I can't seem to be able to decode. The output for that particular instruction (from objdump) is: c6 05…
karurosu
  • 98
  • 1
  • 5
5
votes
1 answer

Choose the 32 or 64 bit version of an app from command line

I'm on Mac OS X, and I have an executable binary which is compatible with the x86_64 and i386 architectures. From the command-line, I would like to choose which of these architectures has to be launched. How to do that? Thanks.
moala
  • 5,094
  • 9
  • 45
  • 66
5
votes
3 answers

How Get arguments value using inline assembly in C without Glibc?

How Get arguments value using inline assembly in C without Glibc? i require this code for Linux archecture x86_64 and i386. if you know about MAC OS X or Windows , also submit and please guide. void exit(int code) { //This function not…
C Perfomance
  • 111
  • 3
  • 13
1
2
3
18 19