2,878 Topics
| |
I need help with my code. this is a simple calculator. My addition seems to work fine. but in subtraction, when the answer is only one digit.. the first digit seems messed up. Special character shows up. This program is supposed to be accepting 2 digit number, example 02 + … | |
Hello everyone, I am new to assembly, and I am trying to learn it. I was given a book by one of my professor to read over the Holidays unfortunately the book assumes basic knowledge in Assembly (BTW, the book is "See MIPS run linux") I just have some basic … | |
a) If the content of d0 is $30 state in words what each of the following numbered instructions will do when placed immediately after the test instruction below tst d0 a) bne fred b) If the content of d0 is $30 state in words what each of the following numbered … | |
Okay so I working on this program where I have to input a string and then display the character distribution in that string. For example: if the input is “[B]minecode[/B]” the output should be C – 1 O – 1 D – 1 E – 2 I – 1 M … | |
plz any help in this code in assembly by emulator8086 [B] the code about[/B] a classroom has 25 students their numbers and grades in the microprocessor course are stored in the memory .it is required to rearrang them in descending order according to their grades. the inputs are two tables … | |
hello everyone how to play sound via PC internal speaker? using emu 8086. example: musical note use 61h, 42h ports. how to work IO ports. please | |
can u help me with this problem: Write a program that will be able to examine every character in a string to see if matches the character supplied by the user. i. Ask for an input string (up to 4 characters) from the user. Display each character to the screen … | |
Hi Every one i need 3 program below assembly code or their algorithms;please help me : [B][COLOR="Red"]1- Multiplying two 10 digit numbers 2- Dividing two 10 digit numbers 3- Square two 10 digit numbers[/COLOR][/B] please help love you thanks | |
i want to make a car waiting meter program using microprocessor assembly language , in the car parking a car waiting is used the drive puts a mount of money and this meter will allow him to park his car for a specific time 1pound=5minutes ,5pound=30min , 10pound=60min if the … | |
sorry for this interruption.. May i ask you sir about our project.? It is a round medicine organizer that will alarm at a specified time that the user set. It's like a pizza pie that has 7 pies (compartment of the medicine). This what we want to happen. When the … | |
Hello Everyone, i'm new to assembly language programing i would like to write a program that will print prompts to enter two values and a code #. If the code # is 1, output the greater of the values.... otherwise it should output the lesser here is what i have: … | |
Consider the following C++ program fragment: [CODE=c++]int a[1000]; int b = 0; for (int i = 0; i != 1000; i++) { b = b + a[i]; }[/CODE] (a) Write a MIPS assembly program which corresponds to this program fragment. (b) Unroll the loop in the program 4 times in … | |
Hi everyone. I'm fairly new to programming with spim. This is the first time I've tried to multiply numbers and I keep getting errors! I looked up on 'SPIM quick reference' how to do multiplication but can't get it to work. Any help would be greatly appreciated :) PS. I … | |
please can any one help in this by mips :(quickly) You have to write a MIPS program that multiplies two 3x3 matrices. The two matrices are defined for you in the code. The program then prints the two matrices and their product. You should use loops to navigate through the … | |
Hi there if there is anyone who read this I need help with my project, and sorry for my english :) I"m working on a Stop light project where I need to light up 3 LEd like a stop (traffic) light , The LED are conected to the PC by … | |
Hello, can someone help me to figure out how i can print the content stored in si ? suppose i did: sub si,si inc si ---> repeated this few time. how can i print the number in SI on the screen? | |
| |
Pls anyone tel a good tutorial site to learn turbo assembly language | |
what would be the recursive implementation of the following c program: int fact(int n) { if (n == 0) return (1); else return(n*fact(n – 1)); } | |
please can anyone help me with this homework i do not know what to do. thank you 1. Write a program that will count from any user-inputted number to 0. For example, if the user inputs 5, the program should output: 5, 4, 3, 2, 1, 0. | |
Hi, i'm new in this forum and i need help with mips assembly. I wrote this code but i can't found the error. [code]#Convert from decimale base to binary one using recursive procedure .data prompt: .asciiz "Insert decimal number: " output: .asciiz "The number in binary base is: " .text … | |
[CODE] ;==================Prompts=============== warning db "Invalid order. The dividend should be greater than the divisor",0 prompt1 db 0dh,0ah,"Please enter a dividend ",0 prompt2 db 0dh,0ah,"Please enter a divisor ",0 Display db 0dh,0ah,"Quotient: ",0 Display2 db 0dh,0ah,"Remainder: ",0 ;==================Variables============= dividend word ? ; Holds the dividend divisor word ? ; Holds the … | |
Compile this with NASM16 (Must be compiled in .COM format!) It will display all 256 colors usable by the BIOS in a neat rectangle that contains 16 columns, 17 rows (Just counted, it may be different). KNOWN BUGS: If you enter FULLSCREEN or run this program from a DOS operating … | |
suppose the array is arr1 dB 5H,8H,1H,3H,6H then how do i display it using tasm | |
Ok I have an assignment that requires me to create 3 macros to do 3 different function. I have the first one completed but the 2nd two are giving me some trouble. #2) Write a macro that takes in 2 32-bit integers and divides the first from the second and … | |
STDOUT equ 01h get_date equ 02ah get_time equ 02ch write_handle equ 040h terminate equ 04ch DOSINT macro function, subfunction IFB <subfunction> mov ah,(function AND 0ffh) ELSE mov ax,(function SHL 8) OR (subfunction AND 0ffh) ENDIF int 21h endm Delay macro local ulang local ulang2 push cx mov cx,50000 ulang: push … | |
I am totally lost when it comes to assembly language. My teacher just decided one day at the end of this semester to give us a programming assignment in assembly language and has barely taught us anything. I have to use five subroutines: main, add, subtract, multiply, divide and cannot … | |
So I have two MAL programs that I am getting 2 errors in each of them. I am using xSpim on unix to run this program. I wrote this using the windows version PCSPIM which compiled the program and ran it flawlessly. But when I tried to run it using … | |
Here is my assembly lang program. [CODE] mov dh,0 C: sub bl,cl mov al,bl mov ah,0 mov bh,2 div bh cmp ah,0 je A mov al,cl mov ah,0 mov bh,2 div bh A: mov al,cl add dh,al add bl,cl add cl,1 cmp cl,bl jle C[/CODE] I am trying to convert … | |
Hello, My name is Marcel and I am new on this forum, I have a question about the following: I am working on a 16 bit application for a AM186ES processor (x86 compatible), this processor has no internal ROM or RAM. My application will be stored on a PC-Card from … |
The End.