3,896 Topics
![]() | |
I am having a problem with my loop not function right and I think I have narrowed the problem down to the MACRO I made for reading in integers the ECX register isn't obtaining a value and stays at 0 while EAX get the value of 1, so when I … | |
Well I have sum assembly homework to do... its supposed to be the snake game. I managed to make a program using parts of others ones, since Im lazy.. anyhow I got the program almost ready but I get only 1 error when assembling: Fatal C:\TASM\emu8086\M3\M3.asm(243) Unexpected end of file … | |
hi, i'm new to c# after some time in assembly, and a bit of c++. i'm trying to examine 2 cells and report back depending on their contents. i want to test A11 - if it is empty - exit - else test B11 - if thats empty then return … | |
Hello, i'm developing a simple assembly (AT&T) program as exercise in preparation of an exam and i have a problem: I need to pass 4 return values of a function using the stack. I know that after the "call", %esp points to the return address that will be used from … | |
;A program to display the message, "ASSEMBLY LANGUAGE PROGRAM" on the screen. ;MODEL MEDIUM ;STACK Datasg SEGMENT; Beginning of data segment message DB "ASSEMBLY LANGUAGE PROGRAMMING" Datasg ENDs; End of data segment Dispsg SEGMENT; Beginning of code segment ASSUME CS:Dispsg, DS:Datasg ORG 100h john: MOV AH,09h; 9 is function value … | |
Just want to make sure I'm doing this right, pretty confused on the subject. DS is 1342 I have a physical address of 1357A in hex the physical address is 79226 and in base offset it is 1342:015A | |
Hello, I'm actually learning assembly and I have a problem even though I am copying word for word what my book tells me. Here's the code: [CODE] 1 .section .data 2 helloworld: 3 .ascii "hello world\n\0" 4 .section .text 5 .globl _start 6 _start: 7 pushq $helloworld 8 call printf … | |
Hi guys do anyone know how to change the code line from sql express to ms sql 2000. Below is my code help me to check it? web.config [CODE]<?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use the web admin tool to configure settings … | |
Hello, I'm reading the book "Assembly Language Step-by-Step" and I'm using the softwares that the author suggests (nasm as assembler, nasm-ide for editing, alink for linking), but I'm having a problem right in the first example - he gives a working code (eat2.asm) and asks me to type a wrong … | |
How can i get the public key token for the assembly that i want to add in root web.config file. Please Help | |
Hi guy i got problem on the web configure when upload to iis and it come out this error Server Error in '/myTT' Application Configuration Error Error line 31=<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35"/></assemblies></compilation> Below is my web config code: [CODE]<?xml version="1.0"?> <!-- Note: As an alternative to hand editing this … | |
Hi, I'm writing a small application which reads and writes to some files. MY problem is that when I write to the file in my program, I get an error, %eax is set to -14. strerror(-14) returns unknown error, and I was told on irc that posix write() doesn't return … | |
Hello all. I am attempting to write a small operating system, just for kicks (i'm a strange person...), only problem is, i can't seem to make the protected mode switch. I am targeting Intel 80386 and better using NASM to assemble the source. Here is that source: [code=assembly] bits 16 … | |
I need to get a MIPS program to print out the first 30 prime numbers and to compute the first 200 (strange, but its the assignment). I can figure out what's wrong with this program. All it does is print 2's out in an infinite loop and I cannot figure … | |
Dear all, I have a problem with AJAX.Net. Now, all my program forms use Anthem.Net. But, Anthem.Net gets problem in IE7 (dropdownlist shrunks and Anthem.Net doesn't provide date picker). So, I have plan to convert my forms AJAX to AJAX.Net. I have converted one modules, and when I compared AJAX.Net … | |
I got this source code from internet. This source purpose is to call ASP.Net function or method from JavaScript. [CODE] <%@ Page Language="VB" AutoEventWireup="false" CodeFile="Default5.aspx.vb" Inherits="Default5" %> <%@ 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 XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>Developed … | |
I am receiving the below error regarding the AJAX Extensions. My host says that extensions are already installed on the server. Hence, do not include them in the bin directory of your asp.net website. However, I have not included them in the /bin directory. Can anybody help as to why … | |
I am converting an MASM procedure to MIPS. Here's the MASM: [code] ; -------------------------------------------------------- ; Find basic list stats - minimum, median, and maximum. ; Arguments passed: ; list, addr (4) ; length, value (6) ; minimum, addr (8) ; maximum, addr (10) ; median, addr (12) stats1 proc near … | |
Please I will be greatful if someone help me put the program below In assembly language. I have been trying for ages but couldnt get. I found the question in some science website and I have been trying to figure it out but i cant. So please join me in … | |
Hello everyone. I haven't started to write the program yet but I have the guidelines to make it. They are : Write a function in assembly language called “factorial” with the following prototype: integer factorial(integer n) Pre-Conditions: “n” is an integer (positive or negative) “n” has been passed in as … | |
I have written a code that prints array in 6 columns: [code] # ----- # Print array elements. li $t1, 0 la $s0, py_sars print_lp1: bgt $t1, 59, print_end1 lw $a0, 0($s0) #get the value pointed by s0 li $v0, 1 #print int syscall la $a0, space li $v0, 4 … | |
hi, i have an exception nullreference was unhandled.herewith i have enclosed the code and what message i haved while executing. Imports System.IO Imports System.Net Imports System.Text Public Class Form1 Public Sub submitButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles submitButton.Click Dim Str As System.IO.Stream Dim srRead As System.IO.StreamReader Dim … | |
I think these two code snippets should have the same effect. The current code is [code] add esp, 36 pop esi sub esp, 40 [/code] which works. I want to replace it with [code] mov esi, [esp + 36] [/code] but replacing my current code with this code has a … | |
hello everyone! i usually hang around the c++ area, but I'll need to learn assembly for computer architecture 2 in the fall so here it is. I wrote a simple program to convert temperatures from C to F. PCspim doesn't like it for some reason. here are my codes, it … | |
Hi All I am developing a Windows Application for Library Management System. In my DataBase I have a column named IssueStatus the datatype of this column is bit and by default it adds the value as 0. When I bind the DataGridView Control to this table. The Column named IssueStatus … | |
Hi, Guys can any1 help me I'm quite a noob in Assembly language and I have an important school work to be done. And I dont even know how to start. This is what I need: An assembly program for 8086/8088 that opens a given .txt file and counts up … | |
I need help with an isometric tile-building program I'm making. The user has many different tile images to choose from to put on a isometric map (ex. Grass, Dirt, Wall). I wanted an easy way to store all these image so I put them in resx file in a satellite … | |
Hi, I was wondering how to dynammicly hop a stream, as opposed to this static hop. streamin hopwiththis; streamin in; streamout out; mov eax,ecx; and eax,1023; cmp eax,0; jnz end0; movaps xmm0,in; movaps out,xmm0; end0: | |
I am new to writing assembly in linux and I need help with the sys_read call. I am using nasm and I would like to read input from the keyboard. I know how to set the call up but what do I use for the file descriptor. I can not … | |
Hello guys help please i'm trying to write to a disk and append it whenever i open the program i can add to it instead of witting a new one StreamWriter Write; Write = File.CreateText("c:\\TestFile.txt", FileMode.Append); Write.WriteAllText(txtOutput.Text); Write.Close(); MessageBox.Show ("File Created SucacessFully"); getting this error:- No overload for method 'CreateText' … | |
Hi all, i've found several x86 codes checking if the string is palindrome or not. but i need something different. a procedure which receives the starting address of a text (in SI) stored in data segment and returns the number of palindrome words in the text into CX. Only word … | |
I'm new to AJAX. I'm trying to use the HoverMenuExtender control in a VS 2005 project. I'm getting the following error: Error 5 The type or namespace name 'HoverMenuExtender' could not be found (are you missing a using directive or an assembly reference?) C:\Inetpub\wwwroot\OGIDW\CheckDetail.aspx.cs 174 13 [url]http://localhost/OGIDW/[/url] I have a … | |
I am new to this site and i desperately need help.... i am trying to write an assembly language programm for MTS-86C 8086 trainer kit. i received an error "file cannot be converted " when i try to change it to hex format by using the command "V [file name]". … | |
Hey, I'm new on this forum.. so i have some newbie questions to ask... I just would like to know what kind of processors are the dual core, core 2 duo and quad ones... i mean.. all the books that i've been reading so far are only treating about x86 … | |
Hi all, I am glad I found Daniweb to start and share experience. I am not sure yet as to what are the main areas of concern of the site, but since I am prompted to introduce myself, here it is: I am 41, married with two kids and though … | |
I made a long research to use the Modulo operator in Assembly language and the closest I found was the DIV operator however it's not available on the simple educational Assembler PEP8 [URL="http://www.filewatcher.com/b/ftp/ftp.pepperdine.edu/pub/compsci/pep8/downloads.0.0.html"]http://www.filewatcher.com/b/ftp/ftp.pepperdine.edu/pub/compsci/pep8/downloads.0.0.html[/URL] with the following operators [URL="http://pastebin.com/f595fb11b"]http://pastebin.com/f595fb11b[/URL] (translation from French ''Annexe C'' in [URL="http://www.er.uqam.ca/nobel/k20250/Notes_cours.html"]http://www.er.uqam.ca/nobel/k20250/Notes_cours.html[/URL] detailled in "Chapitre 7"). Is … | |
i did it like this but it seemed stupid : [CODE]string path = Assembly.GetExecutingAssembly().Location.Substring(0, Assembly.GetExecutingAssembly().Location.LastIndexOf("\\")) + "\\Sounds";[/CODE] any other ideas? my actual goal is to locate the files in my project output directory. it can be any directory i created under my windows application. it is not as straight forward … | |
i have two assembly version old version is 1.0.0.1 new version 1.0.0.2 if i want to use old version what should i do? if i want to use new version what should i do? in which field i have to mention in assembly info file ? | |
Hi I read that a vb.net application can make use of a .manifest file to allow the programs to get through the user account permissions when installing to ms Vista. I understand this code was offered for vb.net, does anyone know if the same thing can be applied to vb6, … | |
i have put my application on a pc with just .net framework 2.0 on. I get a crystal report engine error as noted below: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IO.FileNotFoundException: Could not load … | |
what is mean by delaysigning in assembly..when we use it in c# .net | |
Hello everyone, I hope I have posted this in the correct forum. I have a good knowledge of VB.Net and VC++ and have now takent he brave step into assembly level programming. I'm starting out with just a bit of inline assembly in a c++ program and toying around with … | |
nowadays,i think i am the first man of trying to develop an ai program. the basic workflow is read two files,one input file(this file is generated computer peripheral OCR equipment) and another(this file is generated by customs expected result,it's made-to-order by miscellaneous software,in future,this kind of results or problems can … | |
any one know why I am getting this error? Cannot create instance of 'Window1' defined in assembly 'WPF_DSICalc, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null'. Exception has been thrown by the target of an invocation. Error in markup file 'Window1.xaml' Line 1 Position 9. because I Have no Idea | |
Ok I am try to make a simple calculator, and it looks like every thing if working find, but my btn.Text isn't is giving me the Error 'System.Windows.Controls.Button' does not contain a definition for 'Text' and no extension method 'Text' accepting a first argument of type 'System.Windows.Controls.Button' could be found … | |
i have 2 assembly 1.0.0.0.1 this is old assembly 1.0.0.0.2 this is new assembly i wnat to use new assembly for my application...In assembly info.cs file where i have to mention that assembly version | |
I am just starting to learn x86 assembly language because eventually I want to make my own OS. I wrote a boot sector in fasm and it doesn't load the second sector into memory. Because I just started, there is probably something obvious wrong with the code. Could anyone tell … | |
Hi everyone, I am trying to make a timer in assembly. The user has to type the timer value (in seconds) and a beep occurs when the time is elapsed. I think i'm not far from the end but i got an error i can't seem to find :/ the … | |
I am writing a utility to allow engineers to insert and remove code I have written for one time use. This code will be used to automate one specific (and lengthy) debugging phase, then it will be removed using my utility. Currently, my utility simply finds the exact function declaration … | |
hello Everybody . . I am a new member and I am looking for somebody can help me . . just I want the code in Assembly language if somebody can write the code for me that do these things :- 1-Make a data file named "datafile.txt" with 100 integers, … |
The End.