2,889 Topics

Member Avatar for
Member Avatar for mattyd

Hello: I am a programmer. I work professionally primarily in C, C++. Most personal programming projects I do is in either C++ or Python. I am studying Java and Ruby currently. My quetion is: How valid do you find Assembly language in a modern sense, professionally or otherwise? I ask …

Member Avatar for bootstrap
1
261
Member Avatar for jash00

hi my friends. I need your help, I have to solve these three problems ASAP. Please help me with this: [U][B]1)###########################################[/B][/U] [COLOR=#000000]For a set of numbers read into an integer array (arr1) populate another array (arr2) with A*x2 + B*x + c, where A, B, and C are integer constants …

Member Avatar for Ancient Dragon
0
130
Member Avatar for husslela2

I need to create a Two-Dimensional Array in "row major"order and add up the elements of the row and return the sum in $v0. I know how to set up the data, i just don't know how to manipulate it to get the sum. And I cannot overflow the registers. …

Member Avatar for husslela2
0
116
Member Avatar for husslela2

I want to create a list, with about oh say, 8 or 9 elements.. I want to create a new node at the beginning, insert one in the middle somewhere, and then add one at the end. I don't know how to initialize this. I know how to build a …

0
71
Member Avatar for KimJack

Hi all, I am hoping that you could help me with this. I am working with assembly language 8086. I am trying to put integers into an array one at a time after a prompt. Something like this: Please input an integer: 6 Please input an integer: 1 Please input …

Member Avatar for KimJack
0
991
Member Avatar for bitbank

It's disappointing to see so many requests from students who come here looking for a free lunch. As a university student, you have plenty of time and resources to do your own homework. You would probably elicit many more positive responses from the resident experts if you at least made …

1
68
Member Avatar for bootstrap

I have begun a new project in MIPS64 assembly language. I wrote MIPS assembly three times previously (and other MIPS CPUs too), but have pretty much forgotten the specifics. But I remember thinking the person who created the instruction set was "thoughtful" in his choices (quite an admission for someone …

0
88
Member Avatar for brian.p

[code] ; Description: Program to input a character and then output it to the screen ; Registers used: ax, dx .model small .stack 100h .data .code mov ah, 02h ; DOS function call 2, character output mov dl, 41h ; the character 041h (i.e.'A') mov cx, 26 ; start the …

Member Avatar for Purple Avenger
0
9K
Member Avatar for Van12345

I need a few lines PIC16F84A codes to turn a LED on for 5 minutes, assume Port A0 is an input SW and Port B0 is an output. LED only on for 5 mins when the sw is pressed and stop until the sw is press again. Please see the …

-1
66
Member Avatar for 8ball

I need to create a little assembly app for arm cpu which reads two 32 bit numbers from the address which register r0 points out. Then it compares absolute value of those two numbers and puts them back to those same addresses the way there's number which absolute value is …

Member Avatar for bitbank
0
249
Member Avatar for RandomRob

[COLOR=blue]Hello.[/COLOR] [COLOR=blue]For my assignments for uni, i have to create a program which will provide a answered based on the question answered using emu 8086 emmulator.[/COLOR] [COLOR=blue]so a question is provided, and based on you replying with yes, or no, a text answer is then provided.[/COLOR] [COLOR=blue][/COLOR] [COLOR=blue]eg. You feeling …

0
68
Member Avatar for skeet123

I am having trouble trying to get this machine language program to work with pep/8. Write a machine language program to input two one-digit numbers from the user, add them, and output the one-digit sum. Beacuse this program is at the machine language level you only should use character input, …

0
53
Member Avatar for brale
Member Avatar for harry5341
0
71
Member Avatar for brianbk

:) hi guys and family members of daniweb. i am doing computer system. I like to work you guys, my difficulty is based on digital systems using 8051,microprocessor 8086. i love to build projects using 8051 but my is obstacle are programming site. previous weeks ago i was having difficulty …

Member Avatar for mathematician
0
91
Member Avatar for ajrabbit

Does anyone know how I can read in a stored floating point number and convert it into a decimal/string format and then output it? I'm trying to mimic the floating point output bit of 2 but instead I need to use the string output form. Example: Fpnum: .float 3.14159 Start: …

Member Avatar for mathematician
0
95
Member Avatar for pok555

hello everybody! i'm not good in english. i have a problem with assembly language. my teacher not teach me anything but he give me a homework. if i miss this homework ,i will fail in examination. i want someone to help. i want code in assembly language( file.asm ) code …

Member Avatar for Lazaro Claiborn
0
103
Member Avatar for asabri

1-write an MIPS64 program to convert the two hex digit stored in location 0700H to two ASCII digits and store in locations 0701H(MSD).FOR EXAMPLE IF 0700H=A4H THEN 0701H=34 AND 0702H=41H I really appreciate your help thank you

0
66
Member Avatar for Rebeli

Hi I have a little exercise that I was assigned. This is what needs to be done: - Read 10 numbers from keyboard. - Sort them by Insertion Sort algorithm - Print the sorted numbers in ascending order This is for MIPS and the program I use to run it …

Member Avatar for Lazaro Claiborn
0
692
Member Avatar for SamY

I need help as to how 2 change machine codes 2 binaries or hex like mov to mayb 101011111, yeah, u know like own compiler

Member Avatar for SamY
0
153
Member Avatar for Metsfan147

Hi, I'm just starting to learn about x86 assembly and was surprised at the seemingly small amount of registers. The 8 general purpose registers you always read about /use eac, ebx etc. . are they the only GP registers on a processor or are there others that depend on the …

Member Avatar for mathematician
0
225
Member Avatar for jella_flores

i am just starting into assembly programming, i am currently trying to trace a program step by step to determine a value of a certain register for the particular line and unfortunately, i dont understand how it goes... i am working on this code i found from somewhere, it says …

Member Avatar for mathematician
0
194
Member Avatar for loneranger

Write six (6) ARM assembly language subroutines, called output_character, read_character, read_string, output_string, uart_init, and substring_test. These subroutines will allow a user to use HyperTerminal to enter data and the ARM processor to display data in HyperTerminal via the UART. All user-input should be echoed back to the display. Your program …

0
77
Member Avatar for SamY

Any ideas or sites on port programming for modem, mouse, usb, nad printer/scaners would b apperciated here

Member Avatar for Ancient Dragon
0
73
Member Avatar for keithh

So here's the question that I've been thinking over for a few hours: MIPS to C. Assume $s3 = i, $s4 = j, $s5 = @A. Below is the MIPS code: Loop: addi $s4,$s4,1 # j = j + 1? add $t1,$s3,$s3 # $t1 = 2 * i add $t1,$t1,$t1 …

Member Avatar for keithh
0
198
Member Avatar for ulethgeek

so i'm learning MIPS right now and i think i get the hang of things, mind you it's all relatively easy (so i've been told), but i can't seem to get around this one problem. i was given a C++ fragment and need to convert (translate) it directly to MIPS. …

Member Avatar for Ancient Dragon
0
182
Member Avatar for raj140916

Dear friends i am in need of assembly code for interfacing RTC with 8051 microcontroller. plz help me as soon as possible:-|

Member Avatar for Purple Avenger
-1
119
Member Avatar for simona66

Hello I want to drag & drop an object like rectangle , would you please give me the code and intterupt of it? thank you in advance

Member Avatar for mathematician
0
96
Member Avatar for KalebG

I've been searching around the site, looking at the different types of coding, and come accross Assembly. This is one of the most complicating code ive seen yet and was just wondering what is it's most common use?

Member Avatar for Purple Avenger
0
535
Member Avatar for dalvandi

hi. i really need 8-queens problem assembly source as soon as that you think! any body can help me?:?:

Member Avatar for simona66
0
129
Member Avatar for vbcielle

im converting a fibonacci c code to tasm assembly... i've started my code but im having a difficulty in the part where return fibo(n-1)+fibo(n-2)...please help the red fonts is where im not sure if my code is correct...can you please help c code: [code]int fib(int n) { if (n <= …

0
109
Member Avatar for shinobiCracker

Hi Guys! I've attached here the screenshot i've made for my friends program. I need to properly understand these offsets so i could know the right unlock code from the combination of the username and challenge string produced by typing the username. Thanks! Need to know how! please help me! …

0
68
Member Avatar for simona66

is there anyone to help me inorder to design chess game in assembly? I drew the chess board and the pieces but I can't move them. please help me :sad:

Member Avatar for simona66
0
105
Member Avatar for shiman999

hi everbody.. its really a challenge to write a virus program but eventually we should not harm anty bodys computer.. we should learn virus programming becoz we can write an anti virus for it. if we know how the virus programs are written and defnitly we can built an anti …

Member Avatar for Ancient Dragon
0
81
Member Avatar for inxs_vf

hi!! i need the code for 32 bit multiplication... The numbers are in IEEE 754 and it won't be needed to deal with over and underflow cases, and when the exponent is 0000000 or 11111111. thanxx in advance ;P

Member Avatar for MacGyver Orca
0
388
Member Avatar for amrac

I have a work to do in Assembly. With the value of a radius given by the user, It only calculates the [B]area of a circle[/B]. It has to work in 8086 and not in 80386. I think that the problem is that the value is loaded to the FPU …

Member Avatar for amrac
0
219
Member Avatar for tojas

Hey guys, can you give me a little start to how to use the page changing function for creating an animation. I think I had to use the 05h function of the int 10h. But I don't know more. Please can you give me a little explaining or something? Thanks …

0
76
Member Avatar for howlingmadhowie

hi everybody :) i've just bought a sun box on ebay, installed gnu/linux on it and am now trying to write a short assembler program. this seems to be very different from assembler on my tried and trusted pentium III. anyway, i found a few guides on the net and …

Member Avatar for howlingmadhowie
0
149
Member Avatar for csckw

hello every one i had some erros in my code can you plz fix it to me coz i didnt know how to fix it this is my code : DOSSEG .model small .stack 100h .data redbox db 10, 30, 13, 40 lbox db 10, 30, 13, 40 db 10, …

Member Avatar for Purple Avenger
0
149
Member Avatar for Mushy-pea

Hello everyone. I read a couple of tutorials on x86 assembly a while ago. It was made clear in these that certain instructions need to be included at the end of a program to make it close properly. However, there was some inconsistency about how a program should be terminated. …

Member Avatar for Purple Avenger
0
113
Member Avatar for only_asm

Hi guys! I need the code for 32 bit division in assembly (8086 architecture) ASAP! Kindly reply to this post! Thanx!!

Member Avatar for Ryu
0
1K
Member Avatar for manu1987

I have a problem...I don' know why this code doesn't work...can anyone help me ? PLZZZ .MODEL SMALL .STACK 100H .DATA prompt_msg1 DB 'Please input the first number: ',0 prompt_msg2 DB 'Please input the second number: ',0 sum_msg DB 'The sum is ',0 .CODE main PROC .STARTUP mov ah,02 mov …

Member Avatar for manu1987
0
90
Member Avatar for mattyd

I have just begun reading a PDF on Assembly language. One of the terms it mentioned and encouraged the reader to research further is "pipelining". I looked this up and read a brief description on WikiPedia; a section of the article stated: "In [URL="http://en.wikipedia.org/wiki/Computing"][COLOR=#0000ff]computing[/COLOR][/URL], a [B]pipeline[/B] is a set of …

Member Avatar for Infarction
0
131
Member Avatar for Day Brown

Or is there some other way to break out of the 640x400 or 480 limit, and have 8x16 characters on a 1024x768 screen?

Member Avatar for Day Brown
0
163
Member Avatar for abdullateef
Member Avatar for Purple Avenger
0
295
Member Avatar for kiks

Does anyone knows how can I count how many digits are there in a binary number? Any ideas???

Member Avatar for Purple Avenger
0
570
Member Avatar for hamed22
Member Avatar for vov4ik

Hello, i wrote tiny program to output a single symbol, and it doesn't do the job. The whole code is below: [inlinecode] .MODEL SMALL .DATA .CODE BEGIN: MOV AH,02h ; function of printing single character MOV DL,'>' ; symbol of prompt INT 21h ; DOS call END BEGIN [/inlinecode] After …

Member Avatar for vov4ik
0
137
Member Avatar for sbswhatever

im going to be programming on a server using masm32 should i get the server sdk on microsoft.com web site or the normal one? does it matter?

Member Avatar for Evenbit
0
224
Member Avatar for alsami

[COLOR=#000000][/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000][/COLOR] [COLOR=#000000]How I can write an assembly language program, which will constantly monitor the computer clock (date and time) and for a certain day and during meeting times, display[/COLOR] [COLOR=#000000]“MEETING FOR Dr. A” in the middle of the screen .[/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000] [/COLOR] [COLOR=#000000]As an …

Member Avatar for Ancient Dragon
0
175
Member Avatar for ehsanelahimirza

hi all i want to get system time outof com/serail ports of pc and then to display it on 7 segment LEDs plz help me how to do serial communicationin assembly for port nad then which hardware is used outside to convert this serial data into parallel

Member Avatar for oRg
0
84

The End.