The Gateway to Computer Science Excellence
First time here? Checkout the FAQ!
x
+9 votes
579 views
The purpose of instruction location counter in an assembler is _______
asked in Compiler Design by Veteran (59.6k points) | 579 views
0

The purpose of instruction location counter in an assembler is _______

I think for Back patching related work.

Refer ->

https://stackoverflow.com/questions/15984671/what-does-backpatching-mean

http://www.keil.com/support/man/docs/a51/a51_wp_locationcounter.htm

1 Answer

+6 votes
Each section of an assembler language program has a location counter used to assign storage addresses to your program's statements. As the instructions of a source module are being assembled, the location counter keeps track of the current location in storage.
answered by Active (2k points)
0
What is the use of assigning storage location to each statement?
+3
Labelled jumps maybe.

Related questions



Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true

42,491 questions
48,518 answers
154,888 comments
63,246 users