Questions tagged [addressing]

153 questions
1
vote
2 answers

Addressing data using relative pointers (x86-32 assembler)

I'm writing in 32-bit x86 assembler, and I'm not quite sure how to address data that is always in the same relation to the code. Do I have to use EIP to calculate the absolute address, or is there a better way?
Neo_b
  • 231
  • 5
  • 9
1
vote
1 answer

what address information should I collect when developing an international signup for a website

I have used google to obtain an address from a postcode and the like before. My problem is I want my website to have address fields such that anyone in any country can sign up properly and provide all necessary address information. I will include a…
user5031527
1
vote
0 answers

Network Simulation for MANET Addressing scheme

I have designed a new addressing scheme for MANET but I am not able to simulate my algorithm. Are there any network simulators that I should consider that would help me with the simulation? Can addressing schemes be simulated using ns3? I would like…
punk
  • 11
  • 2
1
vote
0 answers

is there anything similar to what is XPATH for XML -- for programming languages?

Addressing inside files is my main concern. We can address XML documents using XPATH. Is there similar addressing mechanisms for programming languages atleast for C or C++? is there somehow I can use the cross referencing tools to generate data…
vanangamudi
  • 673
  • 1
  • 8
  • 21
1
vote
1 answer

Cache calculating block offset and index

I've read several topics about this theme but I could not get the answer. So my question is: 1) How is the block offset calculated? I want to know not the formula but the concept of it. As I know it is quantity of cases which a block can store the…
Ojs
  • 924
  • 1
  • 12
  • 26
1
vote
2 answers

Transformation of based indexed mode into indirect addressing mode (x86 assembly)

I'm corrently working on changing examples from complex indirect addresssing mode into simple indirect addressing mode pieces. However, I've come across an example from the Based Mode, I'm unable to "transform". Code: move %eax, 28(%esp) I've…
Anja Lube
  • 15
  • 2
1
vote
0 answers

NASM Examples of Stack Addressing

I am currently trying to learn about the types of addressing modes that NASM uses and I understand most of them such as direct, immediate, indirect, however; I am not sure what an example of Stack addressing would be. I am thinking that a stack…
Bob
  • 23
  • 1
  • 5
1
vote
1 answer

Indirect Addressing Mode

I am currently trying to solve a problem where I am given these criteria: I believe that I have some of the answers correct but I am confused because the question mentions nothing about an address being stored at address 10 so how can indirect…
Bob
  • 23
  • 1
  • 5
1
vote
1 answer

Unable to access Image files from CSS in a Spring MVC Application

I have a Spring MVC application from which I am trying to access a CSS file from a JSP file. The CSS in turns accesses an image file. The CSS works perfectly fine, but the image is not being displayed. I think there is a problem with addressing the…
user3914843
  • 21
  • 1
  • 2
  • 3
1
vote
1 answer

Addressing more than 4GB of GPU memory - how does that work?

Typical GPUs today are mostly 32-bit-oriented. While they can do double precision, the ALUs take 32-bit integers basically, thread indices and grid sizes are 32-bit, and (I'm assuming) pseudo-pointers correspond to 32-bit unsigned physical addresses…
einpoklum
  • 118,144
  • 57
  • 340
  • 684
1
vote
1 answer

MIPS: Branch using indirect jump?

Suppose a label called L1. On MIPS, one can easily do: beq $t1, $t2, L1 But is there a way to do the same using indirect addressing? By that, I mean using a register that holds the address where L1 is found. I know of the jr command, but I don't…
Xpl0
  • 75
  • 5
1
vote
2 answers

6502 assembly and representation of addresses

I am trying to understand this kind of addressing mode in assembly 6502. for instance we have in program this kind of instructions: we know that ''text'' label is under $2000-high byte is 20, low byte is 00 in accumulator we have number 30. Now the…
user3402584
  • 410
  • 4
  • 8
  • 18
1
vote
2 answers

C Store array element address in other element

What data type would I use to store the address of other elements in an array. As in, element 0 of an array has the address of element 5. And so on..
ksandarusi
  • 150
  • 4
  • 16
1
vote
2 answers

Store word in 32-bit MIPS assembly

I have a doubt about the store word instruction in 32-bit MIPS assembly. Assuming that I have this in the data section: .data vector: .word 2,3,4,5,6...... and that the vector in memory starts from address 10 (decimal base example). When I…
1
vote
1 answer

Change Shape color in a loop VBA PPT

I need to change Colors of certain Shapes in a slide, based on the criteria if the shape is an EndConnectedShape of certain Connectors (the connectors are selected based on some data in a .txt file, but the data input part works fine). Although it…
T.B.
  • 15
  • 1
  • 5