Questions tagged [eip]

The name of the register holding the address of the next machine instruction, in 32-bit x86 assembly language.

EIP is the official name of the special register holding the address of the next machine instruction to be executed (not the instruction currently being executed), in 32-bit x86 assembly language. It is an acronym for Extended Instruction Pointer. The name is historical: when the 8086 architecture was extended to 32-bit word size, all the formerly 16-bit registers grew an "E" prefix on their names, whether or not it was useful to be able to refer to the low 16 bits of the register separately. (It is not possible to use "IP" in 32-bit code to read the low 16 bits of the instruction pointer.) The same pattern was repeated more recently: in 64-bit code this register is referred to as "RIP".

Most non-x86 architectures call their analogous register PC (for Program Counter) and do not bother encoding its size into the name.

104 questions
32
votes
4 answers

Is stack in CPU or RAM?

I have a few question about stack. Is stack in CPU or RAM? Is stack a place to run OPcode? Is EIP in CPU or RAM?
abiati madana
  • 331
  • 1
  • 3
  • 3
10
votes
2 answers

Invalid register eip?

I am debugging a c program with gdb in linux terminal, I disassembled it and ran it, then tried to find the memory address the the EIP register. This is what happened: (gdb) i r eip Invalid register `eip' Why does it say that my eip register is…
jay
  • 477
  • 1
  • 9
  • 17
6
votes
2 answers

How to get a list of AWS EIP addresses from the command line?

I have a use case where I would like to run a script using all existing elastic IP addresses in a specific VPC. Any thoughts on the best way to generate that list? I've been looking through the AWS CLI documentation and can't find anything. Thanks…
jmvbxx
  • 976
  • 3
  • 13
  • 21
6
votes
2 answers

Camel pattern for multiple sources specific messages aggregation and redirect to destination

I have one problem, and don't know how to solve it using camel. I searched for related EIP in camel documentation, but without results. Now I have simple route:
Zygimantas Gatelis
  • 1,923
  • 2
  • 18
  • 27
5
votes
1 answer

Competing Consumers

I want to configure a spring integration application so that if I put a number of tasks, each represented by one message, on a channel then one of a group of endpoints will pick the next task and process it. This would entail some thread pool…
Paul McKenzie
  • 19,646
  • 25
  • 76
  • 120
5
votes
1 answer

Does CALL instruction ALWAYS push the address pointed by EIP to stack?

Is there any condition where the return address is not pushed into stack during a function call in x86 architecture?
balajimc55
  • 2,192
  • 2
  • 13
  • 15
5
votes
1 answer

How does the EIP register get its value?

I've just started to learn assembly in school, and we're starting to dive into registers and how to use them. A point that I can't seem to understand is how does the instruction pointer get the address of the next instruction? For instance take the…
GamefanA
  • 1,555
  • 2
  • 16
  • 23
4
votes
2 answers

unable to give static ip to nlb

I have hard time getting this working with NLB using ingress controller : https://kubernetes.github.io/ingress-nginx/deploy/#network-load-balancer-nlb Even subnets are not taking effect here , its not passing my configurations in the API that…
amit
  • 88
  • 1
  • 5
4
votes
1 answer

Assigning Elastic IP to Auto-Scaled EC2 in VPC - AWS

My goal is to automatically assign an elastic IP to an auto-scaled EC2 instance. I have done the following: - Configured EC2 instance w/ startup script to assign IP - Configured launch config and auto-scale group per spec. The issue is that when…
dgall
  • 53
  • 1
  • 4
3
votes
5 answers

Using 'bytes at CS:EIP' to find out where the crash occured

I get crash reports from end users with Dr. Watson info and I want to use them to find out where the crash occured (i.e. on which line of the code). I can't just use the EIP from the crash report because the exe we ship is digitally signed, and that…
sashoalm
  • 75,001
  • 122
  • 434
  • 781
3
votes
2 answers

Camel Java DSL - routing on ENUM in header - conent based router or dynamic router

I have a bean which produces objects and sends them to a SEDA queue using the ProducerTemplate in Camel. I send a body and a header: producerTemp.sendBodyAndHeader(document, "sourceSystem", sourceSys); Here the header name is sourceSystem and the…
NightWolf
  • 7,694
  • 9
  • 74
  • 121
3
votes
1 answer

Process Manager Pattern in Apache Camel

Does the Apache Camel framework offer support the Process Manager Pattern? (http://www.enterpriseintegrationpatterns.com/ProcessManager.html)
Lintz
  • 31
  • 1
3
votes
1 answer

What happens when the eip register reaches its maximum value?

The eip register is 32 bits, and it increments for every new instruction. So what happens when it reaches the maximum value for a 32 bit number: 4294967295.
user4344762
3
votes
1 answer

Request-reply between 2 systems using ApacheCamel

I am very new to EIP and ApacheCamel and need some help from the experts. The question is basically about the best way to retrieve data from system B that system A requires using ApacheCamel. For example: System B has MultiplyService. System A…
zoro74
  • 171
  • 15
3
votes
1 answer

Producing multiple outputs from a Camel Processor/Component

I am trying to implement a Camel Component/Processor that takes one input and produces multiple output messages, similar to a Splitter. Like Splitter, the output should go to the next processor/endpoint in the route. I have looked at Splitter &…
Krishnan
  • 91
  • 2
  • 4
1
2 3 4 5 6 7