2,888 Topics

Member Avatar for
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
256
Member Avatar for Michael_69

Hi guys, can you help me with a MIPS Asm exercise. It's the first time that i coding in this language... I solved the exercise in Java, you can get some help to convert it to MIPS? thanks a lot to everyone Java code: public class Exrcise1 { public static …

Member Avatar for ddanbe
0
370
Member Avatar for Victor_15

Using the IAR, I need to develop a program to display a timer using the 7 segment displays, the counter must be able to count up to 59 minutes and 59 seconds and must be displayed in the following format: 59:59 (using the colon). Use software delay loops to approximate …

Member Avatar for SeacoastView
0
573
Member Avatar for Crischin

How to display letters A to P (capital letters) with spaces in between? using assembly language? Requirement: use loop command For 15 lines below :(

Member Avatar for okayservers
0
179
Member Avatar for nandosss

i have a problem that i cant figure out how to solve it taht involves mips assembly. I need to ask the user for how many string they want to sort and then loop that many times and store all those strings in an array. I know how to ask …

Member Avatar for Nauman_4
-1
296
Member Avatar for Jezer

Mam/Sir Somebody can help me!!!! I did the format that displayed of the horizontal position after input the single character and so that is a requirement of the output So this is a expected output The output should be like this: EVEN EVEN Input: X xyz The requirement should be …

0
133
Member Avatar for Jezer

Hello i am creating the assembly program that accepts a single character and display the alphabet . The requirements are (1) The input character should be displayed (2) The input of the single uppercase letter should be displayed the lowercase letter. (3) The alphabet should be displayed horizontal position and …

1
211
Member Avatar for Faith_3

write a program that will take two members A and B and print out all the multiplies of A from A to A*B

Member Avatar for Dani
0
117
Member Avatar for cpsusie

Alright guys, I'm a total n00b to assembly. NOTE: I am not a student -- I am a professional lawyer who loves to tinker with the computer and waste time. Using Visual Studio 2008 Express (C++), I actually managed to write a function in assembly language that evaluates a character, …

Member Avatar for Zack_7
0
11K
Member Avatar for Maria_21

How coul I compare 2 strings, one that is given by a use and the other one from data segment in memor, in assembler? for exemple: assume cs:code,ds:data data segment parola db 'mananca$' introdu db 20,?, 20 dup (?) gresit db 'Mai incearca$' corect db 'Ai ghicit$' linieNoua db 10,13,'$' …

Member Avatar for Taywin
0
450
Member Avatar for 绍禹
Member Avatar for toxicandy

I am trying to complete an assignment using stacks and I need a little guidance. My task is to make an array of 6 values and pass it to VIA stack to a subroutine where I need to increment through it and pass each value of the array to another …

0
147
Member Avatar for Tom_15

Hi: I wasn't able to find the exact solution to my problem on Daniweb, although there are several posts regarding the game of life. This situation came the closest: http://www.daniweb.com/software-development/cpp/threads/242338 My situation is a bit different because I HAVE to use a combination of functions and a class in the …

Member Avatar for Reverend Jim
0
2K
Member Avatar for Tom_15

I need help getting my neighborcount function to work correctly, as follows neighborCount:Given two arguments that indicate the row and column of a particular cell in the matrix, this function returns the number of neighbors that have the value "true". Most positions in the grid have 8 neighbors like the …

Member Avatar for Tom_15
0
550
Member Avatar for One-up

I have a tough time trying to break what's in here: #include <iostream> #include <conio.h> #include <stdlib.h> using namespace std; int main () { float grade; string name; cout << " Please input your name: " << endl; getline(cin,name); cout << " Please input your grade: " << endl; cin …

Member Avatar for rubberman
0
232
Member Avatar for brunoccs

Given the following C code: `B[8] = A[i - j]` Assuming B = $s7, A = $s6, i = $s3 and j = $s4 What would the assembly code be? sub $s3, $s3, $s4 # i - j sll $s3, $s3, 2 # multiply the offset by 4 add $s3, …

Member Avatar for Ánh
0
2K
Member Avatar for patricksss
Member Avatar for Neversleepin

Hi everyone, i'm trying to code a Clock with 2 7segment (commun anode) with 8051 microcontroller in assembly language. i use only two 7 segment led because i want just minutes and secondes for hours i will see later. So i tried to code and when i run it, it's …

Member Avatar for Rizwan_5
0
3K
Member Avatar for MiniScotch

TITLE JIMMY .MODEL SMALL .STACK 100 .DATA NUMERO1 DB(?) NUMERO2 DB(?) NEGAT DB "-$" POSITIVO DB "+$" NEGA DB(?) MOLTIPLICAZIONE DB(?) DIVISIONE DB(?) SOMMA DB(?) SOTTRAZIONE DB(?) UNITA DB(?) DECINE DB(?) SCRITTURA1 DB "IMMETTI I DUE NUMERI $" SCRITTURA2 DB "IL RISULTATO DELLA MOLTIPLICAZIONE E $" SCRITTURA3 DB "IL RISULTATO …

Member Avatar for rproffitt
-1
527
Member Avatar for Haider85

I have some data in varbinary(max) from database and I have exported it to physical files. Some of these files were in jpeg so I was able to just add an extension .jpg to it and it opened. The rest are not jpeg files. **I have tried almost all the …

Member Avatar for rproffitt
0
434
Member Avatar for Violet_82

Hi guys, I wonder if you can help me at all. As some of you will know I do a bit of java development here and there but unfortunately I don't really have any programming background, like, I haven't studied computer science - I just learned (well, that's an overstatement) …

Member Avatar for Violet_82
0
273
Member Avatar for claire_1

Hi guys help this newbie out. My code which uses midpoint circle algorithm to draw the circle and seeking algorithm (steering behaviour) to move the circle towards a position. However the circle is not being drawn and the seeking algorithm i believe is flawed. Please review this and tell me …

Member Avatar for rproffitt
0
926
Member Avatar for Haider85

I have a Health based .Net (C#) project that needs to import a huge chunk of medical records from an old database that were used in a different application. The database has been successfully migrated to the version compatible with our application. The problem is the contents in one of …

Member Avatar for rproffitt
0
384
Member Avatar for Haider85

I have a Health based .Net (C#) project that needs to import a huge chunk of medical records from an old database that were used in a different application. The database has been successfully migrated to the version compatible with our application. The problem is the contents in one of …

0
245
Member Avatar for Kyungwon

Given a typed List collection of int values named dueDays that has already been sorted, write the code to retrieve the index of the element with the value 30 and store the result in an int variable named dayIndex. Given a typed List collection of int values named dueDays that …

Member Avatar for AleMonteiro
0
397
Member Avatar for Kinda_1

Hi Iam a student , nd i have a home work Can any one help me !! Plz Write an asm 8086 language program that take 2 strings as input and computes the string distance between the 2 ,,, the string distance between 2 string os the sum of the …

0
163
Member Avatar for jodytj

;I am using: ;gcc (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3 ;g++ (Ubuntu 4.9.3-8ubuntu2~14.04) 4.9.3 ;I keep getting the following error: ;ch4p5.s:13: error: parser: instruction expected ;ch4p5.s:15: error: parser: instruction expected ;How do I fix it? ;Here is what I have: %include "macros_windows64.s" .MODEL SMALL .STACK 100H @DATA: PROMPT_1 db 'Enter the hexadecimal number …

Member Avatar for rproffitt
0
10K

The End.