What is the meaning of addressing mode?

  • Thread starter Thread starter shantanu135
  • Start date Start date
  • Tags Tags
    Mode
Click For Summary
Addressing mode refers to the method used by a computer to access data in memory. In assembly language, specific statements define data types and operations. For example, "BYTE_VALUE DB 150" defines a byte value, while "WORD_VALUE DW 300" defines a word value. The command "ADD BYTE_VALUE, 65" adds an immediate operand of 65 to the byte value. The hexadecimal notation, as seen in "MOV AX, 45H," represents a value in base 16, which simplifies working with binary data. The hexadecimal value 45H equates to the decimal value 69, making the commands "MOV AX, 45H" and "MOV AX, 69" functionally identical in the computer's perspective, as both load the same value into the AX register.
shantanu135
Messages
5
Reaction score
0
what is addressing mode? and what is the meaning of these following statements
BYTE_VALUE DB 150; A byte value is defined
WORD_VALUE DW 300; A word value is defined
ADD BYTE_VALUE,65;An immediate operand 65is added
MOV AX,45H
what is 45h?
 
Technology news on Phys.org
It's not an address, it's just a hexidecimal value. We use base 16 in computers a lot because it makes thinking about numbers in terms of bits easier. 45h = 69

These commands are exactly identical as far as the computer is concerned.
MOV AX, 45H
MOV AX, 69
 
newjerseyrunner said:
It's not an address, it's just a hexidecimal value. We use base 16 in computers a lot because it makes thinking about numbers in terms of bits easier. 45h = 69

These commands are exactly identical as far as the computer is concerned.
MOV AX, 45H
MOV AX, 69
 
thanks man
 
I tried a web search "the loss of programming ", and found an article saying that all aspects of writing, developing, and testing software programs will one day all be handled through artificial intelligence. One must wonder then, who is responsible. WHO is responsible for any problems, bugs, deficiencies, or whatever malfunctions which the programs make their users endure? Things may work wrong however the "wrong" happens. AI needs to fix the problems for the users. Any way to...

Similar threads

Replies
2
Views
2K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
3
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 23 ·
Replies
23
Views
5K
Replies
3
Views
3K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
8
Views
3K
  • · Replies 3 ·
Replies
3
Views
2K
Replies
13
Views
4K