This site uses cookies.
Some of these cookies are essential to the operation of the site,
while others help to improve your experience by providing insights into how the site is being used.
For more information, please see the ProZ.com privacy policy.
This person has a SecurePRO™ card. Because this person is not a ProZ.com Plus subscriber, to view his or her SecurePRO™ card you must be a ProZ.com Business member or Plus subscriber.
Affiliations
This person is not affiliated with any business or Blue Board record at ProZ.com.
Services
Translation, Transcription
Expertise
Specializes in:
Idioms / Maxims / Sayings
Art, Arts & Crafts, Painting
Computers: Software
Gaming/Video-games/E-sports
Rates
English to Portuguese - Standard rate: 0.10 EUR per word / 19 EUR per hour / 1.00 EUR per audio/video minute Portuguese to English - Standard rate: 0.10 EUR per word / 19 EUR per hour / 1.00 EUR per audio/video minute
English to Portuguese: Creating a Virtual Machine/Register VM in C
Source text - English Converting a program from assembly language to instruction codes is called assembling, and conversion from instruction codes back into assembly language is called disassembling.
Several choices we must make at this point are:
What number is used to represent each assembly language instruction?
How are instruction operands encoded?
Are operands part of the instruction word (remember, by word I mean number), or are they separate words (numbers)?
First, to answer the last question, since there are only small numbers of instructions and registers in this VM it should not be very difficult to encode all operands in a single instruction word, even if (for the sake of simplicity) I were to use a 16-bit instruction word.
Thus, a 16-bit number written in hexadecimal has 4 digits, giving us easy access to 4 information fields, each containing 16 variations (0-9 and A-F).
The first digit of a machine word will be the instruction number.
This gives our VM the potential for having up to 16 different instructions.
This is a small amount by contemporary standards, but it is plenty for our example virtual machine.
The next three digits will be used for the operands.
These can be used as three 1-digit operands, two operands of 1 and 2 digits, or a single 3-digit operand.
Having made these decisions, let us now establish the encoding.
Recall that we have 16 instruction numbers available.
The halt instruction will be instruction 0, and there is an important reason for choosing 0 for this instruction.
Since empty space in the computer's memory will most likely be filled with 0s, any run-away program will eventually encounter a 0 and attempt to execute this instruction, immediately halting the program.
Translation - Portuguese Depois que a linguagem de montagem (assembly) é criada, é necessário determinar como representar cada instrução como um número.
Isso estabelece uma correspondência de um para um entre cada instrução na linguagem de montagem (assembly) e cada código de instrução no conjunto de códigos de instrução
Converter um programa da linguagem de montagem para códigos de instrução é chamado de montagem, e a conversão de códigos de instrução de volta para a linguagem de montagem (assembly) é chamada de desmontagem.
Certas decisões que devem ser tomadas a este ponto são:
Qual número é usado pra representar cada instrução da linguagem de montagem? (assembly)
Como os operandos das instruções são codificados?
São os operandos parte da palavra instrução (lembrando, que por palavra quero dizer número) ou eles são palavras diferentes? (números)
Primeiro, para respondermos a última pergunta, já que existem um pequeno número de instruções e registros nessa MV, não deve ser muito difícil codificar todos os operandos em uma única palavra de instrução, mesmo que (por questão de simplicidade) eu irei utilizar uma palavra de instruão de 16 bits.
Assim, um número de 16 bits escrito em hexadecimal tem 4 dígitos, proporcionando-nos fácil acesso a 4 campos de informação, cada um contendo 16 variações (0-9 e A-F)
O primeiro digito da palavra da máquina vai ser o número de instrução.
Isso da a nossa MV o potencial de ter até 16 diferentes instruções.
Este é um número pequeno pelos padrões contemporâneos, mas é mais do que suficiente para o nosso exemplo de máquina virtual.
Os próximos três dígitos serão usados para os operandos.
Estes podem ser usados como três operandos de 1 dígito, dois operandos de 1 e 2 dígitos, ou um único operando de 3 dígitos.
Tendo feito essas decisões, vamos agora estabelecer a codificação.
Recorde que temos disponíveis 16 números de instrução.
A instrução de parada (halt) será a instrução 0, e há uma razão importante para escolher 0 para esta instrução
Uma vez que é provável que espaços vazios na memória do computador sejam preenchidos com 0s, qualquer programa fora de controle eventualmente encontrará um 0 e tentará executar esta instrução, interrompendo imediatamente o programa.
Get help on technical issues / improve my technical skills
Learn more about additional services I can provide my clients
Improve my productivity
Bio
Greetings! I'm Clara Santos, a dynamic language enthusiast with a passion for unlocking the beauty of communication. Fluent in both English and Portuguese, I effortlessly navigate the intricacies of language with precision and flair. Organizing comes naturally to me, ensuring that no detail escapes my keen eye in any project I undertake.
In addition to my linguistic prowess, I am currently immersing myself in the captivating worlds of Japanese and French, constantly expanding my linguistic proficiency and deepening my cultural understanding.
But languages aren't my only passion. I find solace and expression through art, particularly drawing. There's something magical about putting pencil to paper and bringing ideas to life.
Moreover, I have a penchant for technology. I didn't just stop at using computers; I delved deep into their workings and built my own. It's a testament to my self-taught nature and my drive to explore and understand the things that captivate me.
Currently, I am also studying for a law course and often work on upgrading my fields of knowledge. With an insatiable curiosity and a thirst for knowledge, I approach every task with enthusiasm and efficiency. I take pride in delivering prompt and effective solutions, embodying reliability and effectiveness in every professional endeavor.
Keywords: translation, english, portuguese, technology, art