2,878 Topics

Member Avatar for
Member Avatar for ggingerf

how can i make this code more efficient (e.g less code inside the loop)? [CODE]loop: beq $a0, $a1, exit slt $t0, $a0, $a1 bne $t0, $zero, label sub $a0, $a0, $a1 j loop label: sub $a1, $a1, $a0 j loop exit: add $v0, $zero, $a0 [/CODE] thanx

Member Avatar for wildgoose
0
251
Member Avatar for radu1989

i need to write a program wich does : array : 1 2 3 4 5 6 7 8 9 A=2 B=4 numbers between A-B is 1 and this program must use binary research(and must be recursive) If you can supply the entire code i will be pleased :D if …

Member Avatar for wildgoose
-1
75
Member Avatar for satanaki

hello..i need t creat a programme that it would import from keyboard two strings, stores in the memory in variable addresses and it searches in t o first string for whether it exists second string. If we dont find it print out in the screen the message “IT WAS NOT …

0
32
Member Avatar for satanaki

hello..i need t creat a programme that it would import from keyboard two strings, stores in the memory in variable addresses and it searches in t o first string for whether it exists second string. If we dont find it print out in the screen the message “IT WAS NOT …

0
24
Member Avatar for citizenjawahar

Hi, Could someone please share your idea on how to write a simple Hello World Boot Loader. I have been using OpenSuse Linux and and x86. I was able to write a single letter using the corresponding Ascii key. What about a string? Thanks, Citizen.

Member Avatar for magnuss6
0
503
Member Avatar for Rashid 218

hello i have a problem in assembly. need a code of following problem Write an assembly language Program that Compare two arrays of 10 elements. Arrays are given below Array1: 10 15 20 25 30 35 40 45 50 55 Array2: 15 10 20 35 40 30 55 50 25 …

Member Avatar for shamaila
0
299
Member Avatar for Lulie

i have this assignment and i would like to help me in this: Write assembly program that reads a word from the key board and compares it with an already defined word in the data segment. If the two words are the same it display “Correct Password” else it will …

Member Avatar for Lulie
0
112
Member Avatar for xerreck

Hey everyone this is a Assembly program I am working on and I and almost finished. I have just having a little problem doing some arithmetic, I need to calculate (0.14 * Difference) then add it to the base salary. Details are in a comment in the program code. Here …

0
47
Member Avatar for abdulgirei

Hello Forum, Pls I present to you a problem which has denied me sleep for the past 2days. I'm working on my final year project which is titled "DIGITAL ALARM CLOCK USING PIC16F84A" and I seem to be having problem with the source code. Im a newbie in pic programming …

Member Avatar for joycekram1021
-1
1K
Member Avatar for strlen

Write a assembly language program To add two 8-bit data using registers To find the largest of 3 numbers

Member Avatar for read_hedai
0
103
Member Avatar for badbloodyeyez

hi, I would like to know how to program a PIC16F877 microcontroller. I am using this microcontroller with a LCD so I would like to send data to the LCD. I have connected my microcontroller to a Bluetooth module which is connected to my PC via Bluetooth dongle so I …

Member Avatar for dex391
0
262
Member Avatar for BluMan

Hi! Could you tell me what did I do wrong in the code bellow? I try to read one line from a file, but it shows on the screen only unknown characters(different from the characters I have in the file). [Code] GetLine Proc Hand:HANDLE, pBuf:DWord Local Len:DWord Local rLen:DWord Local …

0
128
Member Avatar for jakethecake

Hi I want to write an x86 assembler function that multiplicates two 64 bit integers on a 32 bit processor. It has the following C signature: [B]void llmultiply(unsigned long long int l1, unsigned long long int l2, unsigned char *result);[/B] The result of l1 * l2 are to be but …

Member Avatar for jakethecake
0
2K
Member Avatar for Rashid 218

I want to write assembly code that compare two integer array of 10 elements. Compare the Array 2 element one by one with array1. need help

Member Avatar for Salem
0
41
Member Avatar for jaaaelpumuki

i everyone, I'm trying to send data to arduino(serial) from assembler (8086 -windows). I can read data but write doesn't work. I always receive 80H in AX, this is the code: [code]send proc MOV AH,00 ; init port MOV AL,11101011b ; 9600, N,1 bit stop, 8 bit data MOV DX,00 …

0
92
Member Avatar for sgk26p10p07

Anyone to help with protected mode programming,like help me create a a data descriptor pointing to 0b800h when i try to write to RAM it rebbots

Member Avatar for Rider99
0
266
Member Avatar for newbiec

Hello! I'm working on a project for class (Assembly Intel 8086) and am having trouble figuring out my problem with this program. The project is to set-up to find GCD of two numbers. However, I can't figure out why the division loop I have isn't working properly. I have the …

Member Avatar for Juniahh
0
4K
Member Avatar for assembler

Hi, Can anyone please help me in making a program that runs like a boot loader in assembly language. Here is what I am trying to do- I have three program files 1.asm 2.asm 3.asm I want to start the bootloader program such that when it starts up,it gives me …

Member Avatar for peter_budo
0
269
Member Avatar for sereenaa

please i need some thing important for you?? i need program assembly to the pic 80c515 at frequevcy 12 MH to do clock digital (7-segment) we learn all instruction like direct and in direct incremant decremant comper timer

Member Avatar for sereenaa
0
71
Member Avatar for Kombat

Modify the simulator so that it includes the jump instruction. Test your work with the following program. The first instruction jumps to the instruction at address 2, so on the second cycle your simulator should print an ALU output of 15, not 14. [CODE] 0 0 0 0 1 0 …

Member Avatar for Kombat
-1
85
Member Avatar for sereenaa

hello every one i need program assembly to the pic 80c515 at frequevcy 12 MH to do clock digital (7-segment) please helpe me

-1
48
Member Avatar for Rameses

I'm trying to create a calculator in MARIE Assembly Language. After some brain storming, I have addition, subtraction, and multiplication codes. I'm completely new to this language and would like to get some help on how to get started. Any help will be appreciated. Thanks ORG 100 /Start Input Store …

Member Avatar for faisal977
0
4K
Member Avatar for IZIShadowIZI

I believe I have the correct implementation down but I think I have some sort of problem with my return? When I input 4 the program will execute and eventually reach 24 however it then continues on and I am not sure what the problem is? Any help would be …

0
27
Member Avatar for blackroserugby

so i am suppose to write the towers of hanoi in MASM and have the directions needed to solve the tower for an inputed number of disks. this is what i have so far [CODE]solveHanoi PROTO, numDisks:DWORD, post1: DWORD, post2: DWORD, post3: DWORD INCLUDE Irvine32.inc .data messagePrompt BYTE "Number of …

0
58
Member Avatar for maf5693

alright I am trying to develop an operating system with assembly. I have written the boot loader and the beginnings of a kernel-however I am having a problem printing characters to the screen. Here is my bootloader [CODE] use16 ; We need 16-bit intructions for Real mode ORG 0x7C00 ; …

Member Avatar for maf5693
0
319
Member Avatar for pijo22

Hi guys.....I need the guide and also the source code on how to built the digital clock with stop-watch.....for the 68000 microprocessor using assembly language.Please help me.....!!!!

Member Avatar for sereenaa
-1
127
Member Avatar for kalodakilla

I'm actually trying to write a simple program which takes in a string and send it to printer to print. But i'm having a problem with testing it, because the signal assembly language sending is to a parallel port, but there are only usb port printers available. Does anybody know …

0
128
Member Avatar for ggingerf

hi all i'm trying to solve an exercise; there's an unaligned word, shifted 1/4 word right. it's address (where it should be if was stored correctly) is at register $s0. i'm interested in storing the word at register $t1 using aligned commands only. i tried; [CODE]lw $ta, $s0 sll $t1, …

Member Avatar for Salem
0
86
Member Avatar for Bajoras

Hello, i am new in assembly. I need program what do for example: i write "hello" and program write "olleh". Thanks verey much how can help me sorry for my English

Member Avatar for theifyppl
0
177
Member Avatar for jonnyboy12

Hello all. This is a quick question. I have learned quite a bit of assembly so far. One thing confused me though. Why would one push a register with nothing in it . for example push eax I have see this happen in code even when nothing has been moved …

Member Avatar for theifyppl
0
122

The End.