Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
3
Posts with Upvotes
3
Upvoting Members
3
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
1 Endorsement
Ranked #856
Ranked #1K
~25.2K People Reached
Member Avatar for kal_crazy

I am using CPU Sim to change wombat1 to wombat2 by adding stack. I have done adding a Stack RAM and a Stack pointer SPR. I have implemented a push instruction as such: acc->mdr mdr->Stack[SPR] End The implementation is able to push the acc value to Stack but not able …

Member Avatar for Ajnesh
0
2K
Member Avatar for fatalaccidents

Hello all, Let me first state that this is my first program written in ARM, so please excuse that it might seem a bit chaotic. Also, I want to state that this is a homework assignment for an assembly class. I am supposed to read in an input file, only …

Member Avatar for Rajan_7
0
3K
Member Avatar for SAMMY12345
Member Avatar for lim.charmender

As the title says. I have tried FreeBSD's stack structure but it looks as though Mac does not use that structure. Also, how could I get their value into a particular register (ecx)? Thanks in advance!

Member Avatar for lim.charmender
0
255
Member Avatar for Rahul47

I have already done some Assembly programming using Turbo Assembler. So recently i downloaded MASM32 but i was unable to link and execute my programs. Is there anyone out there who can suggest a way to link and execute using a simple Hello World! Program ? Thanx

Member Avatar for Rahul47
0
1K
Member Avatar for turboscrew

One thing I find quite irritating is that you can write a lengthy posting without logging in. You just can't send it. If you then log in, you loose all the writing. You can't even copy it before logging in. Is there any plans doing something for it? Often I …

Member Avatar for Dani
0
149
Member Avatar for Rahul47

What is possibly wrong with this code ? data segment msg db "Enter a character: " data ends code segment assume cs:code , ds:data mov dx,data mov ds,ax mov dx,offset msg mov ax,08h int 21h mov bx,ax mov ax,4c00h int 21h code ends end ![766258137b1795d569beae9cd872b521](/attachments/large/4/766258137b1795d569beae9cd872b521.jpg "766258137b1795d569beae9cd872b521")

Member Avatar for turboscrew
0
221
Member Avatar for el.maxim.st

Hello! First of all i want to sa that i have searched here for an answer, but i can't find an explanation :( I want to make a countdown, let say 20 sec. The user must click on a specified pixel in this time. If the user don't click the …

Member Avatar for el.maxim.st
0
473
Member Avatar for el.maxim.st

Hi, i am using emu8068 and i want to know how i read from a file or buffer(with file text) a specified caractes. I have a file named "config.txt" and it seems like that: Easy 50 10 Hard 20 5 When user select Easy/Hard i want to catch the 50 …

Member Avatar for turboscrew
0
112
Member Avatar for surfingturtle

#include <iostream> #include <conio.h> using namespace std; void TOH(int d, char tower1, char tower2, char tower3) { if(d==1) //base case { cout<<"\nShift top disk from tower"<<tower1<<"to tower"<<tower2; return; } TOH(d-1,tower1,tower3,tower2); //recursive function call cout<<"\nShift top disk from tower"<<tower1<<"to tower"<<tower2; TOH(d-1,tower3,tower2,tower1); //recursive function call } int main() { int disk; cout<<"Enter …

Member Avatar for surfingturtle
0
908
Member Avatar for R

Hi anyone here know some good companies that can help with developing my program

Member Avatar for jrevox
0
109
Member Avatar for kyle.mace.35

So I am trying to reverse a string inputed by a user and I am getting an error on one line of my code the line is lw $t3, $t0($t1) #load value. Why can I not do this? .data prompt: .asciiz "Enter in a string: " backwards: .asciiz "That string …

Member Avatar for turboscrew
0
6K
Member Avatar for kal_crazy

Ok I have done the fibonacci number iteratively but now I want to do it recursively. I am using CPUSims 3.6.9 16-bit (4 bit opcode). ;getN ;get a value, n, from user ;test if fib(0) or fib(1) return to main with value getN: read ;read a value and store into …

Member Avatar for kal_crazy
0
2K
Member Avatar for reloadmvp

SO guys I am supposed to be making a program that will check for a palindrome but, I can not get my code to work. It seems to be stuck on the cmp part. I am not sure if this is even right I dont have much experience with masm. …

Member Avatar for turboscrew
0
1K
Member Avatar for reloadmvp
Member Avatar for turboscrew
0
126
Member Avatar for nhanduong

Please help me this exercise.   Write a program to perform the following tasks: · Generate 100 random numbers in the range 0-100 · Show the random numbers were generated · Arrange methods randomly arranged and showing the basic · Take breaks to save the file and read from file …

Member Avatar for turboscrew
0
141
Member Avatar for ECGP

Hi: I am new in the forum and I need some help. I have to write an assembly language program that reads a file with numeric information, and I need to create an array with that information and add them. SO far, I can open, read and display the information …

Member Avatar for turboscrew
0
1K
Member Avatar for VictorK19

I'm really new to MIPS, so I'm having a hard time reading and understanding the code. For my homework, I was asked to identify and corrects errors in the folllowing code which computes the fibonacci number with given n passed in register $a0, and return it in $v0. I was …

Member Avatar for turboscrew
0
5K
Member Avatar for losh177

Hi everyone, I'm trying to figure out if there is any way to do exponents using bit shifting. I know the following: x *= 2 --> x << 2 x /= 2 --> x >> 2 pow(2, x) --> 1 << x i'm looking for the equivalent bitshift, if any, …

Member Avatar for turboscrew
0
1K
Member Avatar for Andrew_6

la $a1, answer li $v1, 4 syscall move $a0, $v0 # move value of recursion to print li $v0, 1 # print integer value syscall # executes print li $v0,10 # call to exit syscall # executes exit The uncommented section is the area giving me problems, answer is a …

Member Avatar for turboscrew
0
183