3,896 Topics
![]() | |
I'm new to assembly and just trying to figure out how I would display a table with values that are serparted with lines. I'm using emu8086 or visual studio but seems more difficult to use. If you can help with code or psuedo and general direction, very much appeciated. | |
I'm having trouble finding where I am going wrong with this program which checks for perfect numbers. Here are my errors: I ran it but it's giving me an error saying Exception occurred at PC=0x00000000 Bad address in text read: 0x00000000 Attempt to execute non-instruction at 0x80000180 ## Registers: ## … | |
Hello guys, i'm trying to compute the area of a triangle using the Floating-Point stack (FPU87), but i'm having an issue outputting my value. I'm computing the area using Heron's formula: T = sqrt{s * (s - a ) * (s - b) * (s - c) } Note: s … | |
Hello all, I have a vb app that cannot find the reference specified. I am using VS2010. The only error I have is this: Error 2 Encountered multiple versions of the assembly with GUID '00020813-0000-0000-c000-000000000046'. Try pre-importing one of these assemblies. C:\Users\Anonymous\Desktop\Waynoka Apps\Waynoka Management\Waynoka Management\TlbImp Anon Management The reference is … | |
I am trying to make a program that will do addition and subtraction on positive integers of any length represented in characters using ASCII operations. The code I have work for the addition but the subtraction brakes around line 35. Thank you for the help. Code is listed below include … | |
im trying to count a number of 0nes in an XOR output of binary numbers and need a control structure that will enable a register to increment it content. here is what i have so far TITLE number of ones in an xor output (XorOutputNumberOfOnes.asm) INCLUDE Irvine32.inc .code main PROC … | |
Hello, I'm trying to write a program using MIPS Assembly Language (I write the code in TextWrangler and run it in QTSpim) I was wondering how I would go about checking if a number is perfect or not. I know my first lines of code may be partially incorrect but … | |
Hi I am testing this function itoa, but I got infinite loop. Could anyone help me to fix this? Here is my code Code blocks are created by indenting at least 4 spaces ... and can span multiple lines .data result_str: .asciiz " " #reserve 12 spaces prompt: .asciiz "Enter … | |
Hi everyone. I'm trying to convert an assembly code to its corresponding regular expression. I'm trying to match program patterns to discover anomalies. Being a novice in assembly language, i thought i would try to first convert a simple addition program to its corresponding expression before moving onto other code. … | |
Hey, Ive been working on a program for a while, and once in a while it will crash for an unknown reason. I checked the error log and it says exception 0xc0000005 which means i'm writing somewhere i shouldn't. What are some common causes of this? Also is there anyway … | |
I want to be able to write a program that repeatedly prompts the user to enter an integer. The program determines if that numbers is perfect and then writes out a message saying if it is or not, then prompts once again. I'll end the loop (and the entire program … | |
Hello all, I am having some trouble with my assembly code...still kind of new, but here it goes... The assignment is to desing an assembly program that uses a dialog box to prompt the user for a number. These numbers will be stored in an array. There will be an … | |
heLLO.../ I tried writing this logic gate with software (estudio) but I am finding difficulties with it.. I understand this may be entry level stuff... but i have never written assembly code in my life.. and I got this off a task.. wud appreciate if someone helps wif my questions.. … | |
I am stuck on trying to figure out a few questions. The questions are listed below. 1: Given the data below, design IA-32 instructions to find the octal string for X and save it in Y. .data X word 200 Y byte 6 dup (' ') 2: Given the data … | |
Hi all.. can u help me to fix this : **Compilation Error** **Description:** An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately. **Compiler Error Message:** CS1061: 'Group' does not contain a definition … | |
Ever scince I saved my project yesterday, when I try to debug my application I get this: > An error occurred creating the form. See Exception.InnerException for details. The error is: Value '0' is not a valid value for Interval. Interval must be greater than 0. > Parameter name: Interval … | |
I'm trying to write a program that concatenates two null-terminated strings. (I declared the strings and buffer in the dad section) .data string1: .asciiz "In a hole in the ground” string2: .asciiz " there lived a hobbit." buffer : .space 512 The program copies the first string into the buffer … | |
Hello. Everything I have to do is just changing some specific text from first file to another text. I have a clue - read first file character by character to array while character != space. After that compare array with my replacement text and decide what action will be performed. … | |
I've an application build with C# and WPF, that is being developed by 3 developers, including me. On a certain stage of the application, an error came up that we can't determine how it happened and how to solve it, so we ask for your help. Although everything works well … | |
here is code whhat is wrong, any will be appreciated ; ****************************************************************** ; Convert integer to ASCII/Binary string. ; Note, no error checking required on integer. ; ----- ; Arguments: ; 1) integer, value ; 2) string, address ; ----- ; Returns: ; ASCII/Binary string (NULL terminated) global cvtIntToASCIIBinary cvtIntToASCIIBinary: … | |
I'm totally lost when it comes to using pep/8... Here's what I need to do, can anyone help? 1. Store the decimal value 25 in memory, beginning at location 0x20, then 2. Store the decimal value 100 in memory, beginning at location 0x22, then 3. Add the two numbers that … | |
I am stuck on trying to figure out a few questions. The questions are listed below. 1: Given the data below, design IA-32 instructions to find the octal string for X and save it in Y. .data X word 200 Y byte 6 dup (' ') 2: Given the data … | |
Can you post a codes for LOGIN FORM using TASM in Assembly Language? | |
this is a little bit confusing, but can I know what does each part of this codes means.. especially those ptr, something. i understand those mov.. but the others aren't. i have googled a lot, but still can't understand.. what i know: the basic structure of tasm(.stack, .data, .code, and … | |
both 32bit and 64bit computers | |
here's what i ve done so far can anyone please check for the error i made cause the output is wrong: .model small .stack 100h .data disp db "Enter Choice:$" disp1 db "a-IT22A",0ah,0dh,"$" disp2 db "b-IT22B",0ah,0dh,"$" disp3 db "c-IT22C",0ah,0dh,"$" disp4 db "Choose Behaviour Level:$" disp5 db "1-Excellent",0ah,0dh,"$" disp6 db "2-Normal",0ah,0dh,"$" … | |
Assembly Language Step-by-Step Programming with DOS and Linux(2000) Assembly Language Step-by-Step Programming with Linux(2009) Linux only(both are by jeff duntamann) I am beginner. So which book should I choose If I want to write apps to Windows later.new book or old book?Is there a big difference? how about learning Linux … | |
Hi, I am trying to put a dll to GAC. The assembly is signed. 1.I tried draging and droping (nothing happens) 2. I tried command gacutil /i abc.dll, from visual studio command prompt. It says Assembly successfully added to the cache but when I open windows\Assembly folder, I cant see … | |
how can i write a program, which accepts the starting address (in BX) of a text (terminated by a “%”) stored in data segment and replace all lower-case letters by their upper-case counterparts. Non-alphetic characters will remain as is.(8086) | |
what are the other types of variables in tasm ex: bh,bl,cx what else is there that i can use? | |
I need to Compute 2x4 +7x3 -15x2 +3x+2 Using Horners Method. When I run this in QTSpim it doesn't give me any errors but I'm just wondering if everything is running completely right. For instance did I call "x" correctly? I'm trying to load the value for x from memory … | |
.model small .stack 100h .code start: xor cx, cx mov ah, 1h @loop: int 21h cmp al, 0dh je @end push ax inc cx jmp @loop @end: mov ah, 2h dis: pop ax int 21h loop dis mov ah, 4ch int 21h end start | |
Hello, Am getting below error, the program cant seem to find some custom dll on my project when installed. in the setup and deployment i check only 'primary output source from myapp' Help please [code]System.InvalidOperationException: An error occurred creating the form. See Exception.InnerException for details. The error is: Could not … | |
Hi there, I am trying to apply a Manifest file to my delphi application so that it can run with administrative permissions, I have been following [URL="http://delphi.about.com/od/delphitips2009/qt/delphi-vista-registry-run-on-startup.htm"]this Tutorial[/URL] part Faking UAC Rights - How to Request Execution Level. I have got to step 6 where I start getting problems, I … | |
Can any one tell me why i would need i GUID in my project. I see it is in the properties of my project under Application/Assembly information. Do i need to make sure this is unique for every project i create. I usually use one project as my starting point … | |
Hi all, I am at a lost and do not know where to start from. Here is what I have to do "Given the data below, you are to design an IA-32 assembly language program to sort array X by the number of binary 0's in each member and save … | |
Hey everyone, I am trying to create a random number generator with MIPS assembly. I have most of the code written, I just need to change my set number for a guessing game to a random number. I also want to ask the user if they'd like to play again. … | |
Hey all, admittedly this is some homework help. I'm trying to write a program which takes a string in of hex characters, calls an assembler function which gives me the decimal value of the hex string. That assembler function calls a "checker" function in C which makes sure each character … | |
Hey guys. I was running assembly lang on visual studio but when I debug it, the cmd prompt window doesn't stay on. It displays the output and disappears immediately giving you no chance to take a really good look at your output. How to solve it? Thank you. | |
[INDENT][B]Hello, everyone[/B][/INDENT], nice to feel so welcomed here! My name is John and I study Informatics in Athens, Greece. I'm using the nickname mikrosfoititis which could be translated as "young student". I'm into C++, C, HTML, CSS, and basics of MIPS Assembly, PHP and JAVA. I would really love to … | |
I am a beginner in learning assembly language. I wanted to know which assembler would be best to use between NASM and MASM in today's context. Also, can you give a link to documentation on these assemblers?And tutorial specific for these assembler (as assembly is not standardized) | |
Here is the instructions given: Use a loop with indirect or indexed addressing to reverse the elements of an integer array in place. Do not copy the elements to any other array. Use the SIZEOF, TYPE, and LENGTHOF operators to make the program as flexible as possible if the array … | |
I have 9 decimal numbers in A3, i need to output them 3 at a time and I'm not sure how. EX) A3 holds '14 8 6 8 5 4 6 4 4' [INDENT]It should display[/INDENT] 14 8 6 8 5 4 6 4 4 | |
hi all, total noob here with assembly. I'm working on a project for one my classes and for some reason we all keep getting segmentation faults when attempting to run the program. I can't for the life of me figure out what the heck is going on and why this … | |
Hey guys, first, i wanna say sorry if i'm not making any effort on doing my job here, but im really new to assembly language, i just started like a month ago without any good source. I got a problem here, i was asked to make a program which a … | |
Hey guys, i'm trying to compile this piece of code with nasm in Ubuntu. It's a boot loader for a simple operational system i'm doing as a university project. [CODE][BITS 16] ; 16 bit instructions [ORG 0x7C00] jmp word load db "ONYXDISK" ; OEM Label String dw 512 ; Bytes … | |
| |
I am new to learning assembly language. I wanted to know if using HLA assembler by Randall Hyde would be a good option for a beginner like me? It seems good on documentation and educational material available on author's site but i wanted to take recommendations from you guys on … | |
I need help creating a two dimensional array in mips assembly. I am new to this kind of programming and i do not know how to approach the problem. i have to create an array max size 20 by 20 and then fill it up with data entered by the … | |
Hi I have made my software of sms bomber in Visual Basic 2008 . When i open software and enter my password and then i write my number (for testing ) and click on bomb it sent only 5 or 6 sms and then it stops and this error occured … |
The End.