Question

assembly language class I have some confusing can you answer me a couple question? What are...

assembly language class

I have some confusing can you answer me a couple question?

What are the basic types of data? How many bits does each on us?

Know the basics of moving data from memory to registers?

What happens in the registers when data is moved/added?

thank you

0 0
Add a comment Improve this question Transcribed image text
Answer #1

An assembly language is a low level programming language .

The basic data types are

  • Integer data types
  • Integer data types are very useful in assembly languages.
  • BYTE
  • SBYTE
  • WORD
  • SWORD
  • FWORD
  • QWORD

Bytes are 8 bit un signed number,sbytes are 8 bit signed integer number,word is 16bit unsigned,sword is 16 bit signed integer,and fword is 48 bit integer and Qword is 64 bit integer etc.

We must also understood the basic information about the memory includes as follows,

  1. 1000 bytes = 1 Kilobytes(KB)
  2. 1000 KB = 1 megabyte (MB)
  3. 1000MB = 1 Gigabyte(GB)
  4. 1000 GB = 1 Terabyte(TB)
  5. 1000 TB = 1 Petabyte(PB

moving data from memory to registers is also important in assembly languages.these are a types of instructions move data from one location to another. Data movement instructions have the greatest options for addressing modes,and addressing modes are also helps in moving data from memory to registers.

  • load - instruction loads a register from memory.
  • store- instruction stores the contents of a register into memory.
  • MOV is useful for transferring data to registers.
  • LDA,LDX,STA,STX etc are widely used methods for moving data from memory to register.

when data is moved/added the register must save the value or location of that data.These are usual in assembly process.

By moving or adding data from memory to register there using various addressing modes like

  • immediate
  • Direct
  • Indirect
  • Indexed

i hope these informations are helpful for you.God bless you friend...

Add a comment
Know the answer?
Add Answer to:
assembly language class I have some confusing can you answer me a couple question? What are...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • Class: Assembly Language x 86 Processors I need help reviewing the following topics: 1.) Define a...

    Class: Assembly Language x 86 Processors I need help reviewing the following topics: 1.) Define a bit, byte, and a nibble. 2.) Define a program, a register, Cache Memory. 3.) What is the meaning of backward compatibility? 4.) List & define x89 processor Modes 5.) What is the processor's operation (Instruction Execution) Cycle ( I am most confused on this topic) 6.) List the processor's Basic registers.

  • Assembly language.    Can u pls send me a copyable code please. If you can run...

    Assembly language.    Can u pls send me a copyable code please. If you can run it. X86. Asm.    Subject: Assembly language If you know x86 asm then only answer it Use x86 asm version send me a written code please send me with out put please send me a copyable code i promise to give you thumbs up, question: Implement a simple 4 functios calculator for 3 digits entry. The user will enter 2 digits for the first...

  • tore means there is a ongarate memery storage for instructions and (I point) (1 point ean...

    tore means there is a ongarate memery storage for instructions and (I point) (1 point ean be represented by a (2 points) n Deser the DATA mmory mctore of the PICTSF 452 making sure you inelude answers to the along with other general information from the lecture 3 points) h How many arnks are there? e How many banks do we have access to in our programs? Desvile the PROGRAM memory structure of the PICI8F452 making sure you to (3...

  • Could you please help me doing this? Slide #14: Slide #15 The question: ARM Assembly Language...

    Could you please help me doing this? Slide #14: Slide #15 The question: ARM Assembly Language label mnemonic operand1, operand2, operand3 comments R2+R1->R3 Loc ADD R3, R2 R1 Label is a symbolic reference to this instruction's address in memory. Mnemonic represents the operation to be performed .The number of operands varies, depending on each specific instruction. Some instructions have no operands at all. operand1 is typically the destination register, and operand2 and operand3 are source operands. operand2 is usually a...

  •    i am taking a c++ class. please answer these four question detailedly. thank you in...

       i am taking a c++ class. please answer these four question detailedly. thank you in advance. Know how to do the tracing problems with classes, aka BaskinRobbins type problem What are some of the benefits to Object Oriented programming? What do the concepts of object reusability and data hiding mean? How do you access a data member of a structure/class? How do you pass an array to a function?

  • 1 to 15 blanks thank you! (1 point) For registers, Integers are encoded in one of...

    1 to 15 blanks thank you! (1 point) For registers, Integers are encoded in one of two basic types 1. and 2. (1 point) The number 201 as a one byte unsigned integer is represented as in binary and in hexadecimal. (1 point) The 2 methods for representing signed integers are 3. and (5 points) What is the 16 bit representation of -125 in 2's complement notation? 4. (5 points) What is the decimal representation of the signed integer 10000001?...

  • Part I Consider a computer that you have used or now use. (You may make an...

    Part I Consider a computer that you have used or now use. (You may make an assumption on word size if needed.) How large is the memory of the computer? How long is a word in the computer above? How many bits are required to address the bytes in that memory? How many data lines are required to read data from the computer memory? Part II Does your computer have cache? If so how big is it? How does your...

  • **I asked this question once, and the answer completely ignored a majority of the rules listed...

    **I asked this question once, and the answer completely ignored a majority of the rules listed on this. PLEASE read what is necessary before giving an answer. **NEITHER answer when searching for this question has a ParityChain class, a ParityChainDemo class or even include some of the stated requirements (such as hasError method). **Parity bit was specified by instructor to be LEFT most bit in chain Done in Java using Apache NetBeans IDE 11.2 -- Objectives: To create a data...

  • Hi, can someone help me with this question?plz answer it ASAP. Thank you so much Write...

    Hi, can someone help me with this question?plz answer it ASAP. Thank you so much Write assembly code to set register $t0 to zero if the value stored in register $t1 is a power of 2. I suggest writing the binary representation of the powers of 2 for i=0,1,2,3,4 and staring at them for some time, then thinking decrement... What does the following code do in practice?

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT