2,878 Topics

Member Avatar for
Member Avatar for j0rd

Hi i am running linux and intel x86 cpu. I have been learning at&t asm using gcc and gdb and am trying to print the values of the fpu stack with no success. My code is: [code] .section .data #; Uninitialized data section output: #; Mem lable .asciz "The value …

0
47
Member Avatar for tones1986

I am attempting to print some output using XPRNT in my program. We are using very basic/old assemler assist program and mvs batch to code everything. My code basically reads in a employee number, hourly wage (in cents), hours worked, bonus (in cents), and deduction amount (in cents). I store …

Member Avatar for joemil
0
92
Member Avatar for imperator

Hi, I am relatively new in ASM, so I need some help. I found this code on the internet and made some modifications. [code] ;************************************************** ; Hello World OS Boot loader ; Designed by Arnav ; http://pendorasoft.byethost15.com/ ;************************************************** [BITS 16] [ORG 0x0000] ; code located at 0000:7C00, adjust segment registers …

Member Avatar for waphon
0
535
Member Avatar for alphahr

Does anyone know where I can find a subroutine library for the little PIC12F508/509? I have searched the web and either missed it or couldn't find it. I am just now starting back into PIC's and have a series of PIC12 and PIC16 chips, development boards and a large assortment …

0
68
Member Avatar for anant

Hi...m just a beginner...could anybody tell me from where i could find a gud tutorial for pic16f84.............. thanx anant

Member Avatar for alphahr
0
171
Member Avatar for jeannelynbrinas

hello.. :)) am new here in daniweb forum.. i just want to ask about an assembly program that will output abc in vertical order.. am also new in this kind of programming.. soo am looking ofrward for some help from thiis forum.. thanks alot.. :)

0
21
Member Avatar for saqib_604

Aslam o Alikum to all, here is my code to get and change the attributes of a txt file. I want to change the hidden attribute of file. In this code, when i get attribute of file, the number 20 (100000) is returned in cx. I changed this number to …

Member Avatar for muslimgirl
0
297
Member Avatar for xweb

I need IA-32 instructions to convert the string in X to an integer and save it in Y. INCLUDE Irvine32.inc .data X byte "659" Y word ? .code begin: ? end begin

0
23
Member Avatar for VBNick

hi, I put together a small app to try using SEE in assembly, but I am getting the wrong output. these are the .cpp file and the .asm file [code=cpp] #define WIN32_LEAN_AND_MEAN #include <iostream> using namespace std; extern "C" int *myFunc(float *a, float *b, float *result); int main(int argc, char …

Member Avatar for VBNick
0
135
Member Avatar for Enzuccio

Hi everyone. I've got to do a program in assembly and I'm a newbye. I'm studying and trying but there is always some difficulty. I'm using x86 language (16bit), I'm programming with ConText (actually I found this assembly enviroment on an italian website and I don't set anything) I've got …

Member Avatar for Enzuccio
0
328
Member Avatar for fatemeG

hi i write this code to read from keyboard & write in a file but it says "segmentation fault":(( plz answer i am failing:((((((( comments are in farsi!! section .data fileName db '/home/fateme/Desktop/text.txt/',0 handler dd 10 ;baraye negah dashtane filedescriptor section .bss inputStr resb 100000 section .text global _start: _start: …

Member Avatar for SamY
0
92
Member Avatar for binarydisco

Hey all, I'm new to programming in MASM 8086 Assembly language. How do you ask the user to input a string of word like "Hello Daniweb" in MASM 8086 assembly language and once the user enters it, it display it on the command window. I appreciate the code :D PS: …

Member Avatar for SamY
0
80
Member Avatar for makaveli0129

Ok so i have this floppy image that just prints a message now the problem that i am running into is that i have to jump to memory location 0x1000 and then jump back to the original place but have no clue how to do it this is what mbr …

Member Avatar for ko3dm
0
235
Member Avatar for NicAx64

hi all , I am a newbie for the x86 and x64 assembly language. Correct me if I am wrong. 99% of the assembly language sources are revese engineered virus binary. So what acutally a newbie had to read is those. Except the realiaty that's the truth. These days I'm …

Member Avatar for ko3dm
-3
398
Member Avatar for Srcee

I should find max in a multidimensional array. But, the elements of the array are given by keyboard, and so is the size of the array. The elements are integers. So, is this correct: ;message for the user to enter the size ;reading the size i equ -1 j equ …

Member Avatar for tesuji
0
81
Member Avatar for Srcee

Okay, so I have a project activity to find maximum and min elements of a matrix. I kinda know how to make .asm file, but I don't know how to make .exe and .obj. Or are they generating by themselves? How to connect .exe with .asm?

Member Avatar for tesuji
0
407
Member Avatar for 4101
0
51
Member Avatar for waphon

Comment@ the aim is Defined Instance Operating that can simulate thinking use computer. 220---221---222 / | /| / | / 120--/121-/-122 / | / | / /| / 20 /--21/--/22 210---211---212/ / / |/ // |/ / |/ / / 110-/-111-/-112/ / |// | / / |/ / 10/---11/-/-12 200---201---202/ …

0
53
Member Avatar for sreenadhs

mov cx, 0ffffh @@: nop loop short @b This code is not working properly. What is the reason

Member Avatar for tesuji
0
91
Member Avatar for bilalqasim

Please can anyone help me in the making of this program : We have to Enter a string of capital letters like WJKTYNHJHIJKLMNOPASC THE LONGEST CONSECUTIVELY INCREASING STRING IS HIJKLMNOP . . . Help me Please , Thanks !!!

Member Avatar for steventaal
0
122
Member Avatar for elico

Hi all We need an assembly routine that will show a picture (graphic file like bmp jpg etc.) in a console mode application written in pascal . This routine will be embedded within the PASCAL source. It will dedicate a portion of the console app to dispaly a picture Any …

Member Avatar for wildgoose
0
122
Member Avatar for Ryan.

Hello My program is supposed to "remove" odd indices from a linked list (with the index starting from 1, and the last address of the linked list being 0): The program should print out 13579, but it instead prints out 13268501024526850100872685009929. I know assembly is tedious as hell, but I …

Member Avatar for Ryan.
0
1K
Member Avatar for hudasntpay

hi...can anyone give advice, tips, on how will i come up in developing the antivirus software coz i dont have any idea. im kinda new with assembly language and i haven't tried using the it. i have a hard time learning it. please give me some guide, advice or tips …

Member Avatar for MosaicFuneral
0
214
Member Avatar for cmsc

hello! i need to make this program that lets the user input like for example 99 then the program will output 'c'. i don't know how to start. but i thought about getting the first 9 first, then subtract 30h, the multiply it by 10. afterwards, add the other 9, …

Member Avatar for Goalatio
0
4K
Member Avatar for skyir

Hellp My Code Error [CODE]; R1=SECOND R2=MINUTE R3=HOUR ORG 00H JMP MAIN ORG 03H JMP INT_1 ORG 13H JMP INT_2 ORG 30H MAIN: MOV IE,#85H SETB TCON.0 SETB TCON.2 MOV R1,#00H MOV R2,#00H MOV R3,#00H ;******** DELAY FOR 1 SECOND **************** DELAY PROC FAR START: MOV TMOD,#01H MOV R0,#16 NEW: …

Member Avatar for Goalatio
0
170
Member Avatar for Goalatio

Hello everyone, I've spent most of today working on a 16-bit interactive interface, and thought it'd be nice to share it with you all. :) Notes: Assembled with NASM16 Has only been tested on Windows XP and Windows 7 There is A LOT of code that needs to be posted …

0
81
Member Avatar for Member 784690

Hi! Does anyone use FASM (Flat Assembler: [URL="http://flatassembler.net/"]http://flatassembler.net/[/URL])? Im using it and I dont know how to make a library on Linux. Can anyone help me? Thanks a lot! Excuse me for my english, but I tried asking in a spanish forum and it seems they are not so friendly. …

0
32
Member Avatar for Reborn121

Hi everyone...i need some urgent help with a program that i am trying to write...the program is suppose to...Erase the EEPROM, then read a value from variable EEADR and store in EEBYT and also output the value to port 3 and finally write a byte to the EEPROM...if you have …

0
43
Member Avatar for jkalmar

Hi Everyone, I've got a library of ASM books I'd like to sell as a set to an ASM devotee. Here is the list of titles and what I originally paid for them. If you pay for shipping and make me a reasonable offer, they are yours. Or, if you're …

0
111
Member Avatar for cmsc

I was wondering if it is possible to subtract 30 from 4ah? i thought so i can convert the ascii character 'C' to hexadecimal '43', i will just subtract 30h from 43h, then add 30 so it will become 43 again and i will be able to perfrom arithmetic on …

Member Avatar for cmsc
0
187

The End.