3,896 Topics

Member Avatar for
Member Avatar for Razvan_1

So i have my mips code that i want to do the follow thing: When i get a vowal (aeiou) it prints the next consonant from vowal (bfjpv). My code works 80% but when i do that it deletes the next char where i replace. Like: Bruno it must print …

Member Avatar for rproffitt
0
285
Member Avatar for mohamed_91

write a program in assembly that do the following: 1-ask from the user to choose the system of numbers(binary,hex,oct,dec) 2-then ask from the user to insert two values and mathematic operator ex: val1=any number not more than 8 bits. operator= (multiplication)or(division)or(-,+,^) val2=any number not more than 8 bits. 3-then do …

Member Avatar for thines01
0
239
Member Avatar for Razvan_1

So i want to swap the vowals with vowals+consonants everytime i found them. a = ab e = ec i = id o = of u = ug For example: The message is: "Hello", the return message must be: "Hecllof". This is the code that i have until now: .data …

Member Avatar for rproffitt
0
304
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
275
Member Avatar for AssertNull

The bad-word filter didn't add the asterisks. I did. I got passed a link to this "Computer Language" by a parent who asked me if I knew anything about it and was this a worthwhile endeavor for her teenage son to learn. I assumed by the name that it was …

Member Avatar for stephenlangton
0
467
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
247
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
262
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
372
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
596
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
182
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
298
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
135
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
212
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
120
Member Avatar for komal_5

write an assembly language code that will: Read a character (ASCII code) from keyboard using a BIOS interrupt. then have to print that ASCII character in binary number system using DOS interrupt. and have to invert that ASCII code and have to transmit it to a parallel port using a …

Member Avatar for rproffitt
0
170
Member Avatar for Monther_1

.STACK 100H .DATA .CODE MAIN PROC MOV AX,@DATA MOV DS,AX ;DISPLAY MSG1 LEA DX,MSG1 MOV AH, 09H ;DISPLAY STRING INT 21H ;DISPLAY MSG1 ; start of loop mov bX,0 loop_top: MOV AH,1 INT 21h cmp al,0dh je Display1 ; testletters cmp al,'A' JL loop_end CMP al,'z' JG loop_end INC bx …

Member Avatar for Dean_5
0
199
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
12K
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
452
Member Avatar for 绍禹
Member Avatar for Aeonix

Couple statements, couple answers. I don't understand everything. If I'm wrong, correct me, but don't be mean about it. You weren't senior in your first steps either. Some of these are guarranteed wrong, because I want to taunt out the correct answer. Statements: **S1. Assembly works 1 on 1 with …

Member Avatar for Reverend Jim
0
390
Member Avatar for mariam_4

i should to move the biggest value to the last index in the array then to print the array. when i print it i get things like letters, smiles... what is the wrong in the code? .model small .stack 100h .data array db 3,8,5,3 n equ 4 b db dup …

Member Avatar for rproffitt
0
281
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
154
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
558
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
233
Member Avatar for Naheed_2

Hi, I have the following html code I have for a task manager. <%@ Page Title="" Language="C#" MasterPageFile="~/Site02.Master" AutoEventWireup="true" CodeBehind="Tasks.aspx.cs" Inherits="DMS.Tasks" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div class="row-fluid sortable"> <asp:Button runat="server" ID="btnAddTask" CssClass="btn btn-success btn-toolbar" Text="Create Task" OnClick="btnAddTask_Click" /> <asp:Button runat="server" …

0
294
Member Avatar for naheedkassam

I have the following code is asp.net <%@ Page Title="" Language="C#" MasterPageFile="~/Site02.Master" AutoEventWireup="true" CodeBehind="Tasks.aspx.cs" Inherits="DMS.Tasks" %> <%@ Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik" %> <asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server"> <telerik:RadAjaxPanel ID="RadAjaxPanel1" runat="server"> <div class="row-fluid sortable"> <div class="box span5"> <div class="priority high"><span>Assigned By Me</span></div> <div class="task high" runat="server" id="Task01"> <div class="desc"> <div class="title">Test 45</div> …

Member Avatar for naheedkassam
0
740
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
530
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
441
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
277
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
942
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
391
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
271
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
409
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
165
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
Member Avatar for MidiMagic

I wrote a web page with one Russian word in it, using the Cyrillic alphabet character entity names (found in a list of all Unicode characters that I have). The page works fine in every browser I tried. But the W3C validator won't validate the page because the Cyrillic character …

Member Avatar for diafol
0
516
Member Avatar for LenardJoseph

I'm running xp pro with outlook express version 6. When I receive emails in the inbox and choose to delete them they just stay there. I can shift delete but just delete does nothing. When I right click and go delete that also doesn't work. Can you please assist. Thanks.

Member Avatar for rproffitt
1
165
Member Avatar for naughty24

was the right assemply code for ATM MACHINE ? need your help , ASAP ! :D thank you ^^

Member Avatar for ddanbe
0
101
Member Avatar for Kunyepa

**I'm having difficulty translating C code that loops through an array of grades. The C code is as follows:** int A, B, C, D, F; // declare grade counters int i; // declare loop counter int N ; // Number of scores to analyze A=0; B=0; C=0; D=0; F=0; // …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for Musab_1

Write a Pentium assembly language program that will convert a BCD number in AL to a seven-segment code using a look-up table containing the seven-segment codes of the BCD numbers. Use a common-cathode display. Assume that the table is stored in memory starting at offset 2000H. Use the XLAT instruction. …

Member Avatar for rubberman
0
177
Member Avatar for rpv_sen

Hi I am working on windows services. i can bale to run the service for every 1 min. I creating multi thread. but i required the service to run in single thread. can any one please help me to fix my issue. **Code** using System; using System.Collections.Generic; using System.ComponentModel; using …

Member Avatar for pritaeas
0
1K
Member Avatar for dmanw100

Hello, I've just begun working with assembly so I'm sorry if this question is simplistic. I would like to implement an atomic add (for incrementing an array pointer). My code looks like this: int * ptr; int step; asm("lock add %1, %2;\n" :"=m"(ptr) :"m"(ptr),"r"(step) : ); But I'm getting an …

Member Avatar for Feanis
0
318
Member Avatar for munchlaxxx

I really need help with this. I've been using Visual Studio for C++ and Assembly, and I can build my projects with zero errors, but when I try to Debug I get the message: **Unable to start program "C:\mypath\Debug\filename.exe" The system cannot find the file specified.** or if I Start …

Member Avatar for Mauricio_4
0
17K
Member Avatar for Üzåír

.MODEL SMALL .STACK 50H .DATA NL DB 0DH, 0AH, '$' .CODE MAIN PROC MOV AX, @DATA MOV DS, AX MOV CX, 5 MOV BX, 1 FOR_1: PUSH CX MOV DL, 20H MOV AH, 2 FOR_2: INT 21H LOOP FOR_2 MOV CX, BX FOR_3: MOV DL, '*' MOV AH, 2 INT …

0
679
Member Avatar for fuyulight

*how program to display this triangle??? >_<* > ***** > **** > *** > ** > * > * > ** > *** > **** > ***** (just the triangle..)

Member Avatar for Üzåír
0
22K

The End.