2,889 Topics
![]() | |
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 … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
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 … | |
[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 … | |
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 … | |
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 … | |
[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 … | |
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, … | |
How to initialise rs232 serial port and send a byte in assembler language? | |
:) 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 … | |
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: … | |
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 … | |
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 | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
Any ideas or sites on port programming for modem, mouse, usb, nad printer/scaners would b apperciated here | |
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 … | |
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. … | |
Dear friends i am in need of assembly code for interfacing RTC with 8051 microcontroller. plz help me as soon as possible:-| | |
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 | |
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? | |
hi. i really need 8-queens problem assembly source as soon as that you think! any body can help me?:?: | |
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 <= … | |
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! … | |
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: | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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, … | |
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. … | |
Hi guys! I need the code for 32 bit division in assembly (8086 architecture) ASAP! Kindly reply to this post! Thanx!! | |
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 … | |
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 … | |
Or is there some other way to break out of the 640x400 or 480 limit, and have 8x16 characters on a 1024x768 screen? | |
HI EVERY ONE I want TASM code to show the real time in the screen in a sample way thanks :-| | |
Does anyone knows how can I count how many digits are there in a binary number? Any ideas??? | |
i want to write aprogram in 8086 assembly . can you help me? | |
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 … | |
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? | |
[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 … | |
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 |
The End.