3,896 Topics

Member Avatar for
Member Avatar for evanescence

Hi, I'm pretty new to writing stuff in Assembler . Now I'm trying to run some code that puts the odd numbers from an array to a second one, and the even numbers to a third one. I don't really know how to make the transfer. I tried with MOVSB …

Member Avatar for NotNull
0
135
Member Avatar for M.Shakeel

hello sir can you help me about assembly language . I want to know how can I made a program to oprate a machein. Sir pleas help me. Thanks sir.

Member Avatar for HarryTruman
0
135
Member Avatar for JMC31337

After searching for how to use inline assembly with Dev-C++ i fig'd i would share my code This takes 2 const chars and swaps them thru inline AT&T assembly The variable booga starts as booga booga and ends up as JMC31337 [CODE] #include <iostream> #include <stdio.h> #include <stdlib.h> using namespace …

Member Avatar for JMC31337
0
167
Member Avatar for avarionist

im having a bit of trouble reserving space and with labels a.asm:6: error: parser: instruction expected edit should mention im using intel syntax [CODE] section .data msg db "test",0x10 section .bss mtstr resb 1000 string resb 1000 public _print mov eax,4 mov ebx,1 mov string,mtstr mov ecx,string mov edx,1000 section …

Member Avatar for avarionist
0
184
Member Avatar for ChPravin

Hello All, I am new to using AJAX.I am using Visual Web Developer 2010 and I followed all the steps given on the [url]http://www.asp.net/ajaxlibrary/act.ashx[/url] web page to install AJAX.However, when I try to run my website,I get the following error: "Could not find any resources appropriate for the specified culture …

0
47
Member Avatar for Crysomere

Hello, I attempted to create a linked list in Assembly which takes the values from x and stores them into the list LinkNode. While it does work properly in doing this, I am unable to get any calls to procedures to work after calling my GetLink procedure. The calls seem …

Member Avatar for Crysomere
0
93
Member Avatar for rexins

Hallo, I have to develop a SPIM/MIPS programm, which read an integer from the user and change this integer into binary system (like for example 00011000) My idea was this one, but it doesn't work: I think the problem is the space segment. maybe somebody see the problem and can …

Member Avatar for wildgoose
0
438
Member Avatar for maretti

hello dear, i have little problem with my code can somebody help me: thats the problem: Write the assembler instructions that will Convert Celsius Degree to Fahrenheit degree. Note that if the degree is 0 grades Celsius, print out information: “The highway is freezing”. Note that the Celsius degrees need …

Member Avatar for wildgoose
0
89
Member Avatar for Srcee

The results of an exam are in this order: 72, 40, 94, 18, 80 and are in the data segment. You should write an assembly program which will determine the best result and will put it on location BEST in the same segment that should be defined after the array. …

Member Avatar for wildgoose
0
106
Member Avatar for tonymuilenburg

Hi All, I'm trying to figure out how to load images from a resource file into a picture box using a visual studio windows forms application in c++. I figured out two different ways to do this in c# by going through the forums, but I cannot figure it out …

Member Avatar for tonymuilenburg
0
1K
Member Avatar for ejup_555

Write the assembler instructions that will read the text document located starting from memory location 020AH. The last line of text document is specified by escape character ‘\’. While reading print out the text that starts from character 11 to character 20. Comment your assembler instructions. this is the assignment. …

Member Avatar for wildgoose
0
80
Member Avatar for Choink23

we were tasked to come up with a peer 2 peer chat program using serial ports using only nasm and C language. can anyone give me an idea on how i can do it? or references that can help me figure out what to do. i'd really appreciate you're help …

Member Avatar for thxliatdu
0
80
Member Avatar for unbreakable

Hi all .. i have shellexecute problem in ollydebug.. [CODE]0055B8DD > 57 PUSH EDI ; /IsShown 0055B8DE . 56 PUSH ESI ; |DefDir 0055B8DF . 56 PUSH ESI ; |Parameters 0055B8E0 . 68 08646D00 PUSH Unpacked.006D6408 ; |FileName= "Option.exe" 0055B8E5 . 68 00646D00 PUSH Unpacked.006D6400 ; |Operation = "open" 0055B8EA …

0
83
Member Avatar for Srcee

What will be in CH and AH after these commands? MOV AX, 1234 MOV BP, AX MOV DX, 999 MOV DI, DX MOV CH, 222 [bp+di]

Member Avatar for Srcee
0
205
Member Avatar for c++noobie

I'm running Arch Linux on an x86_64 system with a patched 2.6.33 kernel for bootsplashing, shouldn't affect what I'm doing. I'm trying to print out a number to the screen. I'm fairly new to assembly, and I don't really know my way around convention or other things to make it …

0
89
Member Avatar for Srcee

What would be in registers ax, ah and al after these commands: MOV AX, 1010 MOV AH, 5 ADD AL, 5 I understand that ax contains ah and al but I don't know the answer of this question

Member Avatar for Srcee
0
91
Member Avatar for lisles

Hi.i want to use a ajax updatepanel.on postnack i only want the datalist "dlEvnt" to get refreshed.but thats not happening.can anybody tell me what to do. Here's my code [code] <%@ Page Language="C#" AutoEventWireup="true" CodeFile="news_evnts.aspx.cs" Inherits="news_evnts" %> <%@ Register Assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" Namespace="System.Web.UI" TagPrefix="asp" %> <!DOCTYPE html PUBLIC "-//W3C//DTD …

Member Avatar for lisles
0
160
Member Avatar for maf5693

I am building a new OS as a learning experience, and after trudging through intel architecture manuals and osdever tutorials I still have no idea how to write a keyboard device driver- using BIOS calls and interrupts is outdated and I have no idea how to directly interface the keyboard …

Member Avatar for maf5693
0
194
Member Avatar for mattloto

I am learning assembly and I have a question about interrupts. Are they bound to a specific OS? I, like a lot of people, want to make a simple OS of my own, not that I ever will. I was wondering if I can use interrupts like 10h without having …

Member Avatar for maf5693
0
98
Member Avatar for rachS25

0 I am developing a project using Visual Studio 2008 in C#, I have added the class library within the project and set up the relevant references and used the relevant using statements. It seems to be a problem with just this one folder. can anyone help? this is the …

Member Avatar for rachS25
0
114
Member Avatar for anuragcoder

Hi guys, I've compiled the code given below which allows the user to enter the address of a text file and then view it(the whole thing). But, as soon as input is taken, "openfile.exe has encountered a problem and needs to close. Send Error Report." When I Press Debug something …

Member Avatar for abhimanipal
0
198
Member Avatar for joaonascimento

Hi! I have this program: [CODE]include emu8086.inc name "CALC" ; output file name (max 8 chars for DOS compatibility) ORG 100H JMP MAIN A DW ? B DW ? X DW 0, '$' Y DB 0, '$' MAIN: LEA DX, OPCAO CALL ESCREVA CALL LER MENU1: CMP AL,'1' JE SOMA …

0
56
Member Avatar for supidProgrammer

Hi! I´m new in this Forum. My problem is: I have two functions for replacing characters in a string. One in C++ other in inline Assembly: Example: Source string "björk" to destination string "bjork" In C++: [CODE] void ReplaceChar(char* s, int len) { for (int i = 0; i < …

Member Avatar for supidProgrammer
0
199
Member Avatar for shonabagylas

hi is it true that reverse engineering a compiled python "program" is significantly easier than other languages ? thank you

0
22
Member Avatar for maf5693

hi I have been looking around for a good file io tutorial and I cant find any. It is simple enough to me the process, mov dx,043h mov al,54 out dx,al etc. but i have no idea which ports go to where or how to write to a hard disk …

Member Avatar for maf5693
0
243
Member Avatar for joaonascimento

Hello, I am a novice to program in assembly, how do I prompt the user to place two numbers and then do a sum with them? Please, help-me...

0
40
Member Avatar for mtxgroup

hi can someone tell me how to write a code in assembly language(ASM16,TASM Compiler,Windows) to implement a simple countdown timer (to miliseconds accuracy) display on the command prompt screen? after starting the program when you press the space - the stopwatch will start - press space bar again - stopwatch …

0
57
Member Avatar for DYE

Hi I'm new and have a question regarding MIPS hardware single cycle datapath. I've search and looked through many textbooks and I couldn't find the answer to my question. My question is how does a shift instruction (srl, sll, etc.) get interpreted and travel through a single cycle datapath. Everything …

Member Avatar for asra62
0
815
Member Avatar for wolfshire

Hi to everyone on this great site! I have been learning assembly since the last semester. They taught use assembly there in real mode in DOS using some age old book and masm. Then by my interest I picked the subject again now and learn it using AT&T syntax and …

0
158
Member Avatar for togdem

Hi Im a bit new here and i have been learning programming for a while now. But i just started to learn asm. I've been all over the internet to find how to build a simple os. But there is not much information that is related to my problum so …

Member Avatar for maf5693
0
114
Member Avatar for joaonascimento

Hello, I'm new to assembly ... I wonder how I can write the variable res screen... By sending write writes trash... [B]Code:[/B][CODE]name "mycode" ; output file name (max 8 chars for DOS compatibility) ORG 100H JMP MAIN NUM1 DB 12H NUM2 DB 12H RES DB ? MAIN: LEA DX, OPCAO …

Member Avatar for wildgoose
0
118
Member Avatar for Quargar

Hello, I'm new to these forums, and have just started programming in assembly. I wrote a small program to print out the first command line argument, and it's not working. It goes like this: [icode] section .data empty db "The pointer was null",10,0 section .text global _start _start: mov rcx, …

Member Avatar for Quargar
0
249
Member Avatar for elliot81

Hi there, I have a problem with the search function I designed for my code. [CODE]using System; using System.Collections.Generic; using System.Text; namespace ConsoleApplication { public class Person { public string PerName, PerSal, PerPhone, PerPcode, perState, PerAddress, PerStrenum; public Person(string rec_name, string Srec_sal, string Srec_phone, string Srec_pcode, string rec_state, string rec_address, …

Member Avatar for finito
0
127
Member Avatar for kacete

Hello, I'm trying to create a routine that processes the input from a 12 digit keyboard input and then display it on a 16x2 LCD display. I'm testing the reading routine with a simple output to an HEX display. Problem is that the value doesn't hold, it changes immediately back …

Member Avatar for kacete
0
243
Member Avatar for shrarh1

Hi everybody, I'm working in Assembly editor as graduation project and I need your help for rating it after test. It's important before 24-May-2010 to complete my research. Thanks... NOTE: -rate its performance,design,and general function. - Keyboard shortcuts : * Ctrl-F9 run * F9 compile * F2 Save * F3 …

0
32
Member Avatar for Cap'nKirk

Hi, my app creates some components at runtime such as a PictureBox. Because they are only created at runtime I have no way of setting the ErrorImage through the properties section. I thought I could just add the images I required to the programs resx file but found out that …

Member Avatar for Cap'nKirk
0
262
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
256
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
77
Member Avatar for hetalraithatha

Hi Everyone, I would like to get some help in a way to convert C code to DLX assembly code.I have tried to search if there are tools available which would perform this, but whatever I find is to convert to MIPS assembly code. Guidance to move further in this …

Member Avatar for UncleLeroy
-1
578
Member Avatar for kourt32

umm lets see where to start ? name:not really important (i like anonyminty) :) i go by Kourt32 or Anarionist ( I've been here before hehe) age: 17 Location: TN <----- I know right lol Hobbies: C/C++(still learning alot),programming(in general),tuning my computer to maximum performance,Minimalism(i love minimalism im a huge …

0
33
Member Avatar for ankita1

We have created an MVC web application in asp.net 3.5, it runs absolutely fine locally but when we deploy it on godaddy hosting server (shared hosting), it shows an error which is related to trust level problem. We contacted godaddy support and they say, that we only support medium trust …

Member Avatar for dnanetwork
0
405
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
37
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
28
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
534
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
304
Member Avatar for Geek-Master

I have been playing around with different 'flavors' of programming, like QBasic, Assembly, and C++. I like all of them, but I have really begon to like C++. The only problem I have, is that I dont have any problems to solve. I'm just programming cause its FUN ^^. I …

Member Avatar for mrnutty
0
179
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
117
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
50
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
106

The End.