I am learning assembly language and got stuck on this point. This is a problem from book "Computer System" chapter 3. The problem description is: 1st ...
I am learning assembly language and got stuck on this point. This is a problem from book "Computer System" chapter 3. The problem description is: 1st ...
I'm trying to just print these 3 integers, but I get the error "-- program is finished running (dropped off bottom) --". When I compare my code to oth ...
New to programming and want to select a language that would cover everything. Can a machine language do the job? Even though it would be quite harder ...
How do I convert Assembly Hack to Binary Machine Language? For example, the below hack assembly, how would I manually translate it into machine code ...
Okay so I am looking at an example program in LC-3 and one line of code is as follows: So I understand that the code is taking the contents at addr ...
I have a code in C which simply prints hello world, like this #include <stdio.h> int main(void) { printf("Hello, world\n"); } to compile the ...
The question does not have any more information. I think the program divides and multiplies the numbers 1-5 until it reaches 0 then it stops. Am I c ...
so I recently received a project for a 2nd year computer science module, where we did computer architecture. We were instructed to write ARM Assembly ...
Is there any way to force a compiler or an assembler to only generate RIP-relative addressing code? I am trying to find a way to provide a mapping fr ...
given some pure machine language commands, for example the following bytes: (taken from: How to write and execute PURE machine code manually withou ...
I'm trying to take this simple hello world assembly program and generate it from scratch to machine language (for the ultimate purpose of making an as ...
I'm just getting started learning this material. I don't understand where the 35, 9, 8 and such numbers in the chart come from. All I see in the assem ...
I get that the 8086 has a BIU and an EU and that helps in pipelining the processor. The BIU has a 6-Byte prefetch queue which fetches the bytes that f ...
Why does this loop show 20 as the result instead of 120? ...
For instance, PUSH imm32 has the op code 68h. Is it possible to use another number, for example, 69h, to "represent" this instruction (assume this num ...
I've seen in some posts/videos/files that they are zero-padded to look bigger than they are, or match "same file size" criteria some file system utili ...
this is my code in jupyternotebook iam confused why do I'm getting a bad input shape error. The line that fails is in my code is given below,by openin ...
I've been given an assignment where I'm to write the actionPreformed methods for Encode and Decode buttons for an application where a user can hypothe ...
So I am writing a program(in LC-3 ISA Machine Language though i'm not sure if this an actual name for the specific type of machine language code, it's ...
I'm trying to adapt a program that counts the occurrences of a char in a file to store a list of the hex addresses where the matches occurred in a far ...