3,896 Topics

Member Avatar for
Member Avatar for vitcous

Hi all, I am looking for an assembler compiler. This is what I need for, Language Resources XDS-68 Assembler version 3.0 with source files extensions are .MOT .MAC .MAR This source files actually have compiled on VAX running VMS on Motorola M68000 chip. How can we complile multi assembly files …

0
53
Member Avatar for chinesethunda

How do I convert this to assembly? [CODE=c]static unsigned char i, j, aResult[15]; /* Define Vars */ static const unsigned char aData[]={0xA0,0x1F,0xA5,0xB2,0x00} ; /* Define Data */ /* Initialize aResult array to all zeros */ for(i=0;i<15;i++){ aResult[i] = 0; } i=0; /* Set index for aData array */ while(aData[i] != …

Member Avatar for skaa
0
169
Member Avatar for poly712

hi everyone! i need help on this code it is a calculator that asked the user to input an expression (eg. 56+2) in one line and output the answer..it suppose to manipulate mdas. please help me fix this code.. (i mean this is not really my code but i did …

0
84
Member Avatar for Ruchi224

Hey.. I have a form consisting of datagridview and two buttons of update and load all.. I have used fillby method to obtain data from database. The query seems to be working fine, except that the data is not shown in the gridview. As in, for the qeury, if the …

Member Avatar for Phasma
0
71
Member Avatar for saintrenz

i made a code to program a clock but there's a problem #1, its a bit messy when i view it in command prompt, the words i typed doesn't disappear so that i view the clock neatly.. also it blinks.. #2, how can i have it on marquee up and …

Member Avatar for saintrenz
0
123
Member Avatar for nuliknol

Hi, is there a way to do 128 bit comparison in one instruction with SSE 4.2a? I need to compare if the XMM0 register is 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF If not, what would be the fastest way to compare with two steps of 64bit comparisions? Thanks in advance.

Member Avatar for untio
0
90
Member Avatar for football.12345

[CODE]TITLE Copying a String Backwards (CopyStr.asm) ; This program copies a string backwards. INCLUDE Irvine32.inc .data source BYTE "This is the source string",0 target BYTE SIZEOF source DUP('#') .code main PROC mov esi,0 ; index register mov ecx,SIZEOF source ; loop counter L1: mov al,source[ecx-1] ; get a character from …

Member Avatar for Narue
0
216
Member Avatar for Dewey1040

I'm creating a fibonacci program in mic1, which is a little more readable than other assembly languages so even if you don't know the language it shouldn't be hard to figure out what the code is trying to do if you are good with stacks and recursion. This is the …

0
392
Member Avatar for nobita11

can somebody tell me how this program works line by line or how the program works as a whole .. this is the code: org 100h mov ax,0013h int 10h mov cx,0000h mov dx,0000h move: cmp dx,00c6h je row cmp cx,013bh je row2 add dx,9 add cx,9 mov ax,dx mov …

0
66
Member Avatar for xcarbonx

Hello, I am just starting and introductory course in Assembly. We are using 8086, and I am having trouble with the assignment. We are to start with the number 1, and then double that number 18 times, and print out each number in hex. For example, output should look like: …

Member Avatar for AceStryker
0
139
Member Avatar for Rupindersingh
Member Avatar for AceStryker
0
138
Member Avatar for bettybarnes

hi guys pls. help me with this. I want to limit the times when the user would guess the word for 3 trials only. How will i do that? PLs. see my code below: [CODE] TRYAGAIN: mov cx, 12 mov bx, 0 AGAIN: mov ah, 01h ; read a char …

Member Avatar for bettybarnes
0
186
Member Avatar for Rileyh

Could someone please tell me how to compile an assembly program. I have the code, but I can't compile it. Also, my "Hello, world!" program does not run when using Flat Assemble, a compiler I got off the internet. Here is my code: [CODE].386 .model flat, stdcall option casemap :none …

Member Avatar for AceStryker
0
164
Member Avatar for bettybarnes

hi guys just want to ask about how to translate this c code into assembly language: [CODE] int x = 1; while( x <= 3 ){ x++; printf("Sorry try again!"); }[/CODE] any help would be greatly appreciated! God bless!

Member Avatar for AceStryker
0
324
Member Avatar for torbecire

I am using an assembly compiler to try and print the first 12 numbers. I have succeeded in adding, but it won't print some of the numbers. I want. 1 1 2 3 5 8 13 21 34 55 89 144 BUT GET. 1 2 5 13 34 89 233 …

Member Avatar for ynahneng
0
16K
Member Avatar for inagumi

Can someone help me on how can i make a assembly program that can multiply? I'm going to make a program that convert a currency to another currency so it will involve a user input. I browsed through the net on how to make a program that do multiplication but …

Member Avatar for inagumi
0
295
Member Avatar for Zssffssz

How much longer until I'm the king of typos and stupid questions? Ok well in a different thread of mine there was a reference to BIOS.h. Does anyone know where to download it (If I don't have it comp making tarball sooo slow) or/and what's in it. I want to …

Member Avatar for pseudorandom21
0
330
Member Avatar for Blink751

.MODEL SMALL .STACK 64h .DATA Number DW ? Cmd_Tail_Length DB 00h Cmd_Tail DB 11 DUP (' ') Error_Msg DB 'Error: command line tail not found or out of range.$' ;---------------------------------------------------------------------- .CODE Main PROC FAR call Get_Command_Tail mov AX, @DATA mov DS, AX ; Make DS Point to our Data segment …

0
58
Member Avatar for Labdabeta

I would just like to know how x86 ASM instructions are translated into binary. EG: [ICODE]mov al,061h[/ICODE] becomes [ICODE]10110000 01100001[/ICODE]

Member Avatar for miker00lz
0
1K
Member Avatar for Zssffssz

Ok here it is short sweet and to the the point: how do I get a asembly languige OS to reconise the floppy drive as A:/

Member Avatar for miker00lz
0
160
Member Avatar for miker00lz

let me preface this by explaining the reason i'm writing this code.. i've been writing an x86 PC emulator in FreeBASIC, and this program is designed to test it's handling of video mode 13h, including palette manipulation. i thought in addition to being fun (at least for a nerd like …

Member Avatar for miker00lz
0
1K
Member Avatar for Ruchi224

Hello !! I am trying to implement datagridview using b.net and ms access. While I import the data from database, the connection is established and test connection succeeds. But, during the last phase, i get an error saying : Could not load type 'Microsoft.VisualStudio.DataDesign.SyncDesigner.syncFacade.SyncManager' from assembly 'Microsoft.VisualStudio.DataDesign.SyncDesigner.DslPackage, version 9.0.0, Culture=neutral,PblicKey …

Member Avatar for Ruchi224
0
109
Member Avatar for Labdabeta

Is it possible to use [URL="http://msdn.microsoft.com/en-us/library/45yd4tzz%28v=VS.80%29.aspx"]__asm blocks[/URL] with Code::Blocks IDE? And if so how??

Member Avatar for mike_2000_17
0
238
Member Avatar for Bucher

Hello all, I just joined the site. I hope someone can help me with a minor problem, I have been searching both this site and google for the anwser... but keep getting stuck. A dialog with a textbox is reading a text file within the project like this [CODE] Private …

Member Avatar for Bucher
0
218
Member Avatar for bettybarnes

hi guys! just want to ask if anyone of you knows how to limit the user input up to 3 trials only. For example, the user fails to guess the correct password, an error message will prompt saying you have exceeded the 3 trial.

0
56
Member Avatar for csharplearner

Hi all, I am new to C# and i am learning it from home.. so my doubts may seem silly to some of you:( . I am posting here to find some help fr the errors i get.. I am practising namespaces and i keep getting this error when i …

Member Avatar for sailaja reddy
0
852
Member Avatar for krystalo

I have this assembly project (mips) but I think I have an overflow problem.... The problem is that the answer is ok until number 99 but at 100 it prints with a - infront of the number. The projects just ask me to calculate a sum (x+a)^2 (x= 1 to …

0
74
Member Avatar for roisterguy

Hello, We stduying the 8086 and 386 using boarland linker. while stduing for a test I have I came across a queation about menaging and printing 64bit numbers. the numbers are represented as an array of chars (8) and I need to implement a rutine that puts the number in …

Member Avatar for roisterguy
0
228
Member Avatar for loveMii

Hello.. I've been trying to create a simple postfix calculator.. Can anyone please tell me how I can input a char in assembly? i tried using char as a data type but i found out that there's no such thing as char in assembly.. Please help me.. thanks!

Member Avatar for loveMii
0
6K
Member Avatar for ChieftanBill
Member Avatar for Zssffssz

Ok, what would it take to write a BIOS in asembly languige, not planing on doing it. ; no money for chips and thats crazy. So...

Member Avatar for AMarchini
0
196
Member Avatar for anders10

Hello! I have a piece of code here that I just can't get to work. I get segmentation fault and now I'm trying to apply a ddd tool to understand the problem. I haven't used ddd before but there seem to be some kind of a problem around the subroutines …

Member Avatar for anders10
0
246
Member Avatar for RideFire

Here is my question that I can't manage to google and solve. I wrote a simple C++ program that adds two numbers. However, how do I call an assembly code to do this addition. It will be easier to show what I have so here it is. Here is my …

Member Avatar for raptr_dflo
0
236
Member Avatar for Zssffssz

I herd that some C++ compilers can use asembly languige in there programs along side C++, How would I do This? And is there any way to use a compiler as an assembler? <<two questions.

Member Avatar for gerard4143
0
181
Member Avatar for loveMii

Please help me find the error with my code. Whenever I try to run the program, it returns a Segmentation Fault message. I've been trying to find and play with the codes but I'm really stuck.. Please help me.. Here's my code: [CODE] .section .data format: .asciz "%d\n" values: .int …

Member Avatar for untio
0
1K
Member Avatar for shaunchu

All right. So I'm taking an assembly language class, but we apparently also need to use a smattering of Unix and C. Our assignment is to create a function that converts from the input base to a listed base. Example of a call: ConvertToBase(057,10) should return 47 (the input was …

Member Avatar for cse.avinash
0
114
Member Avatar for loveMii

Please help me find the error with my code. Whenever I try to run the program, it returns a Segmentation Fault message. I've been trying to find and play with the codes but I'm really stuck.. Please help me.. Here's my code: [CODE] .section .data format: .asciz "%d\n" values: .int …

0
67
Member Avatar for tfj

I have two projects: [B]SQLtesting[/B] and [B]Controls[/B]. Their physical locations are: C:\My Documents\Visual Studio 2010\Projects\SQLtesting\SQLtesting\ [forms reside here] C:\My Documents\Visual Studio 2010\Projects\Controls\Controls\ [forms reside here] The code shown below works fine. I run it from the project SQLtesting. It loads a listbox and a checkedlistbox with the controls found on …

Member Avatar for Unhnd_Exception
0
209
Member Avatar for D33wakar

I wrote a procedure to read integers(unsigned) from stdin and store it in a variable. I wanted it to handle backspaces too. so I made some adjustments but unfortunately it didn't work.--see line 14 in the code [CODE]get_num: ;(function get_num: read integers from stdin) push ax ;save all registers push …

Member Avatar for D33wakar
0
1K
Member Avatar for SamarthWiz

I am having trouble with the standalone builder I keep on getting this Message: [CODE] I: Dependent assemblies of C:\Python27\python.exe: I: x86_Microsoft.VC90.CRT_1fc8b3b9a1e18e3b_9.0.21022.8_none checking Analysis building Analysis because outAnalysis0.toc non existent running Analysis outAnalysis0.toc Analyzing: C:\Users\Samarth\Desktop\PYINST~1.1\support\_mountzlib.py Analyzing: C:\Users\Samarth\Desktop\PYINST~1.1\support\useUnicode.py Analyzing: C:\Users\Samarth\Dropbox\Projects\DATABANK\data-bank.py W: library coredll.dll required via ctypes not found I: Analyzing C:\Python27\python.exe …

Member Avatar for SamarthWiz
0
370
Member Avatar for loveMii

Hi! I'm still new to assembly and I'm trying to do a selection sort using assembly.. There's a problem somewhere and I can't seem to find it.. Please help me. Here's my code so far: [CODE=assembly].section .data format: .asciz "%d\n" values: .int 5, 3, 2, 4, 7 smallest: .int 0 …

Member Avatar for loveMii
0
143
Member Avatar for barnum

Hi, I am calling a WebMethod by compiling an assembly (from the wsdl) and calling InvokeMember. Now, in global.asax for the web site with that WebMethod, how do I see the WebMethod name? HttpApplication's Request holds the URI to where the WebMethod is published, but not the method. (If I …

0
67
Member Avatar for asitmahato

Hi everyone, I want to compile a simple assembly language program like helloworld.asm in visual studio 6. I don't want to use MASM as assembler. I want to include NASM as assembler. please help me out. thanks in advance..:D

Member Avatar for Schol-R-LEA
0
552
Member Avatar for anders10

Hello! I have a problem in trying to convert a string into an integer. I'm not supposed to use the routine atoi, ie I have to do it on my own. Here is the code; [CODE] .data String: .asciz "1234\n" Show_integer: .asciz "The integer = %d\n" Intg: .long 0 .text …

Member Avatar for anders10
0
3K
Member Avatar for zaiboot

Hi, i need some help with a directive called ASSUME, and i have to write a program that display a string but i can't use .code nor code and i have no idea of how can i make it work. Besides i can't find information about ASSUME. Please someone help …

Member Avatar for Triggerlife
0
3K
Member Avatar for Zssffssz

Ok I have all the framework done. Programs I want it to do all linked up in another program Done. A c++ program to write to boot sector DONE. All I need now is a simple (less than a gig of text:) way to start the other program from the …

Member Avatar for Zssffssz
0
396
Member Avatar for cse.avinash

Hello Sir, I am using DELL laptop and with the help of QEMU, NASM and GCC i am trying to compile a simple code which is not executing properly. I am using UBUNTU 10.04. here is the loader.asm assembly file. [code] global loader extern dmain MODULEALIGN equ 1<<0 MEMINFO equ …

Member Avatar for Schol-R-LEA
0
217
Member Avatar for nuliknol

Hi, I am looking for instruction cost list, in clock cycles, for ia-32 intel architecture, something like this: movdqa <-- 3 clock cycles mov <-- 1 clock cycle jmp <-- 1 clock cycle Is this info available somewhere? I checked the manuals, didn't find it. Will appreciate any help Thanks!

Member Avatar for nuliknol
0
102
Member Avatar for asitmahato
Member Avatar for Schol-R-LEA
0
233
Member Avatar for asitmahato

Hi.. I have downloaded grub source code from [url]ftp://ftp.gnu.org/gnu/grub[/url]. I have compiled that source code using ./configure then make command but i have not get any binary file. Actually i want to use GRUB boot loader for my own Os. please guide me. I am very new here. thanks in …

0
71

The End.