2,878 Topics

Member Avatar for
Member Avatar for Loay_1

Write a Marie subroutine that take a range of numbers and prints the prime numbers of this range.

Member Avatar for happygeek
-2
308
Member Avatar for user2018

Hello I want to write a mips program that collects user input, and indicates if the input is all uppercase letters or not. (self.user_2018_2019) submitted just now by user_2018_2019 Write a MIMPS program that collects user input, and indicates if the input is all uppercase letters or not. The program …

Member Avatar for user2018
0
404
Member Avatar for Andrew_46

I'm trying to convert the following C code to MIPS64 (very new to this): If Im given the addresses: (a @ 100) (b @ 200) (c @ 300) long int a, b, c; // 64-bit ... if (a < b || a == 4) c = 1; else c = …

Member Avatar for Schol-R-LEA
0
3K
Member Avatar for jay_25

Hi guys. My task is to write a wombat 1 machine language program in CPUSIM that outputs the radix(only base 2 to 8 inclusive) reperesentation of a number. We have to ask the user for 2 inputs - first is the value to convert(cannot be negative) and second is the …

Member Avatar for Carolyn_3
0
761
Member Avatar for jay_25

Hi guys, I have a problem. I'm using CPUSim Wombat 1 to write a program. The goal is to display the numbers that the user has entered in the order they've been entered. What I'm stuck on is the storages. It's currently in a loop. The sentinel value is 0. …

0
439
Member Avatar for mnstrgrvyrd

The homework is to create a pretty simple calculator, and I think I understand how to do all the calculations well enough, but I'm struggling with a different part of the homework. The user inputs some thing like this: +ooooo which means add 5 to the running total. Or something …

Member Avatar for Schol-R-LEA
0
1K
Member Avatar for Spagett912

I had been writing a program that enforces the loop instruction with indirect addressing but I need it to copy a string from source to target, reversing the character order in the process. I need to use the variables: source BYTE "This is the source string",0 target BYTE SIZEOF source …

Member Avatar for Schol-R-LEA
0
4K
Member Avatar for darren110690

can i ask something whats the used of [B].org 100h[/B] in assembly language..., and why it is 100h why can/t it be 60,70,80 or 90h? tnx :)

Member Avatar for Reverend Jim
0
24K
Member Avatar for whitejag

I bought a web site a few months ago thinking that I could go to a community tech school. I have not found the classes that I need. So I don't know how to build it. Help?

Member Avatar for rproffitt
0
200
Member Avatar for Belfina

Hello there guys! I must implement a linked list in assembly (using MIPS). We're supposed to dynamically allocate memory for the nodes. This is what I am asked to do: Write a program in assembly (MIPS) that implements a link-list. The client can choose among the following options. So the …

Member Avatar for rproffitt
0
6K
Member Avatar for i dont know

Hello all, i need your help regaring this code, which is in python and i need to convert it into mips?? register $s0 holds the base address of list my_data, $s1 holds the length of the list my_data, register $s2 holds the base address of list my_data2 and $s3 holds …

Member Avatar for rproffitt
-1
3K
Member Avatar for jalanderful

Hello, I am supposed to write a code in MIPS to do the following below. Basically, you enter an integer, and it should check to see if it is a palindrome, and if not it will output the number, and keep adding the numer backwards to it, outputting it, and …

Member Avatar for Farah_3
0
1K
Member Avatar for theburg30

Preconditions: Addresses of 2 integer variables are on the stack as the parameters. Sample c call: swap( &num1, &num2); You must implement the following C swap function: /* Swaps the two values pointed to by x_ptr and y_ptr. */ void swap (int *x_ptr, int *y_ptr) { if (x_ptr != y_ptr) …

Member Avatar for mohamed_101
0
20K
Member Avatar for Albert_11

I'm stuck on converting hex or decimal to 16-bit binary,and I don't know how to start. Here is the tasks I need to do: Decimal Conversion Task: Add code that displays the value in R3 to the console as a binary string. It should convert R3 one bit at a …

Member Avatar for rproffitt
0
4K
Member Avatar for Yousaf_1
Member Avatar for aya_5

`.model small .stack 100 .data kernel DB 10 DUP(1) input DB 1, 2, 3, 4, 5, 6, 7 output DB 0, 0, 0, 0, 0, 0, 0 .code MAIN PROC FAR MOV AX, @DATA MOV DS, AX LEA BX, input LEA DI, output MOV AX, 0 ;1st element starts here …

Member Avatar for itnavigate
0
445
Member Avatar for aya_5

I have an input signal array I have a kernel array of size 10 filled with ones 1) I need to store the input signal array in a block of memory 2) I need to find the intersection between the input array and the kernel 3) I need to output …

Member Avatar for rproffitt
0
500
Member Avatar for hkdani

Using tasm32. GetStdHandle returns INVALID_HANDLE_VALUE in eax register. .386 .model flat extrn GetStdHandle:PROC extrn ExitProcess:PROC .data .code start: push -11 call GetStdHandle push 0 call ExitProcess end start Other APIs work fine. just having problems with GetStdHandle. Any ideas?

Member Avatar for hkdani
0
368
Member Avatar for Rimi_1

Hello to all group members, Im having a problem with my assembler. I have installed MASM 6.11 and i have 'Windows 10'. Everything works out just fine, the compiler and all and even my programs are accurate as they get. The problem is that when im trying to go to …

Member Avatar for rproffitt
0
235
Member Avatar for Mike_43

Write an assembly program that reads two integers from the user, X and Y, then stores the largest input into a variable called L. The program should show prompts to tell the user to enter the two numbers.

Member Avatar for rproffitt
-2
484
Member Avatar for Nadir_1

He , how do i print multibel line's i use de .inc from mikeos but don't knows how to loop like this: .message db 'hallo 1',0 db 'hallo 2',0 db 'hallo 3',0 for the moment i uze ;------------------------------------------------------ ; Install screens 1 ;------------------------------------------------------ BITS 16 ORG 32768 %INCLUDE "pirom_dev.inc" start: …

Member Avatar for rproffitt
0
227
Member Avatar for rsu

i have installed nasm in ubuntu in linux but dont know how to and where to write code of assembly language and run my code please give me information as soon as possible.

Member Avatar for yahya_3
0
6K
Member Avatar for moonu

Write an Assembly program that allows the user to enter a string of up to 99 characters. The program shall then replace all the digits with their corresponding words. The words shall be printed in all lower case or all upper case depend on the case of the last alphabet …

Member Avatar for rproffitt
0
289
Member Avatar for Razvan_1

So i have my mips code that i want to do the follow thing: When i get a vowal (aeiou) it prints the next consonant from vowal (bfjpv). My code works 80% but when i do that it deletes the next char where i replace. Like: Bruno it must print …

Member Avatar for rproffitt
0
281
Member Avatar for mohamed_91

write a program in assembly that do the following: 1-ask from the user to choose the system of numbers(binary,hex,oct,dec) 2-then ask from the user to insert two values and mathematic operator ex: val1=any number not more than 8 bits. operator= (multiplication)or(division)or(-,+,^) val2=any number not more than 8 bits. 3-then do …

Member Avatar for thines01
0
227
Member Avatar for Razvan_1

So i want to swap the vowals with vowals+consonants everytime i found them. a = ab e = ec i = id o = of u = ug For example: The message is: "Hello", the return message must be: "Hecllof". This is the code that i have until now: .data …

Member Avatar for rproffitt
0
300
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 This_1

movlw 0x05 movwf 0x23 movlw B´00111000´ movwf STATUS bcf TRISA,0 bcf TRISA,1 bcf STATUS,5 bsf PORTA,1 movlw 0x07 movwf 0x25 movlw 0xFF andwf 0x25,1 nop movlw 0x0F movwf 0x27 clrw iorwf

Member Avatar for xrjf
0
271
Member Avatar for Vimal_6

Hi i want to write a Assembly program x8086 that converts the Decimal number into a binary and hex number.In Visual studio I know how to write the same program in emu8086 simulator but i am unable to write in visual studio.I would really appriciate some help if possible ? …

Member Avatar for rproffitt
0
246
Member Avatar for Rajan_7

As a students of embedded what is the scope of advanced embedded system? Is it a better career option?

Member Avatar for rproffitt
0
254

The End.