What is Syriac Language in the Assembly Context

Asked

Viewed 92 times

2

Performing a list of Computer Organization I came across the following question:

Rewrite programs written in assembly language (Assembly) in the previous exercise for symbolic language. Consider that the first instruction of each program is "mounted" at memory position 512 and that each instruction occupies exactly 1 position of that memory. The data are stored in memory from heading 640 on the label of the variables in alphabetical order

I found a problem in solving such activity because of the 'syllable language', which I don’t know what is in this context of OC. Searching did not find the exact definition of Syriac language in the context of Assembly, but found that one Quora response that indicates what are symbols in Assembly, but does not answer: which symbols represent the Assembly directives, such as ADD, SUB, etc. In this case I suppose I have to write the operation number and the number of binary operands or a representation provided by the author (right ?), turning the Assembly language into something more 'abstract', similar to:

inserir a descrição da imagem aqui

My interpretation is correct ? If yes, in the activity nothing is informed, how would I solve it ?!?

Note: I don’t want you to do the activity, I want to understand how I can do it.

1 answer

2

The machine language is usually accompanied by a "readable" version called Symbolic Language or simply Assembly.

Symbolic because this language is not composed of binary or hexadecimal numbers. The Assembly language is actually a readable version of the machine language. It uses abbreviated words, mnemonic calls, indicating the operation to be performed by the processor.

Example:

The x86 Standard Machine Language Instruction:

00000105h

It can be assigned to the mnemonic MOV (abbreviation of Movement) having two registers as parameter, R1 and R5. When the processor executes this instruction, it commands the movement of the contents from R5 to R1.

Then the instruction in machine language 00000105h can be written in symbolic language as:

MOV R1, R5

Browser other questions tagged

You are not signed in. Login or sign up in order to post.