1.

Differentiate The Assembler Directives Re5w And Resb?

Answer»

RESW -It RESERVES the indicated NUMBER of words for data area. 

Eg: 10 1003 THREE RE5W 1 

In this instruction one word area ( bytes) is reserved for the symbol THREE. If die MEMORY is byte addressable then the ADDRESS assigned for die next symbol is 1006. 

RE5B -It reserves die indicated number of bytes for data area. 

Eg: 10 ioo8 INPUT RE5B 1 

In this instruction one byte area is reserved for die symbol INPUT .Hence die address assigned for the next symbol is 1009. 

RESW -It reserves the indicated number of words for data area. 

Eg: 10 1003 THREE RE5W 1 

In this instruction one word area ( bytes) is reserved for the symbol THREE. If die memory is byte addressable then the address assigned for die next symbol is 1006. 

RE5B -It reserves die indicated number of bytes for data area. 

Eg: 10 ioo8 INPUT RE5B 1 

In this instruction one byte area is reserved for die symbol INPUT .Hence die address assigned for the next symbol is 1009. 



Discussion

No Comment Found