Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1871
  • Last Modified:

Relocatable vs Absolute assemble

Could you explain for me about Relocatable vs Absolute assemble?
and help me compare between thread and process!
1 Solution
From what I know for a relocatable code we have to write a software loader/relocator to  resolve addresses at runtime ... that means taking over static linking jobs and do it at run time -- have to abide by a binary format specification such as ELF Binary format. Whereas for absolute code the address is not resolved since the code run using PC-Relative addressing.
For MOST ROM-based apps, you should be able to generate and run an absolute binary.
Relocatable code is for computer programming.

Difference between process and thread? You mean for Example windows process and windows thread?

Process starts and works independantly, starts from Code start point and does some defined jobs. Have an executable file and have a file in HDD.

But thread is a block of code inside an application which runs seperately CPU wise. You can run same function/code as for example 100 thread.

That's all
gpsnemoAuthor Commented:

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

Tackle projects and never again get stuck behind a technical roadblock.
Join Now