2,889 Topics
![]() | |
Hi all.. I am new to apache and i have some questions about it.. i cross compiled it on an hawkboard, which has ARM arch'. the main question is how to make apache use as minimal as possible, for example, when i use the 'top' command on the target i … | |
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 … | |
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 … | |
Hi...m just a beginner...could anybody tell me from where i could find a gud tutorial for pic16f84.............. thanx anant | |
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.. :) | |
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 … | |
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 | |
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 … | |
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 … | |
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: … | |
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: … | |
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 … | |
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 … | |
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 … | |
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? | |
Please help me to add three digit number or higher by using loops. Thank You. | |
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/ … | |
mov cx, 0ffffh @@: nop loop short @b This code is not working properly. What is the reason | |
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 !!! | |
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 … | |
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 … | |
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 … | |
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, … | |
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: … | |
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 … | |
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. … | |
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 … | |
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 … | |
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 … | |
Write a program in PC assembly language to execute the following code: b := 0; a := 0; read c (c must be between 5 and 9) while ( (a+b) < c ) do begin b := b+a; a := a+1; end; | |
Write a program in PC assembly language to execute the following code: b := 0; a := 0; read c (c must be between 5 and 9) while ( (a+b) < c ) do begin b := b+a; a := a+1; end; I wrote the followng but something is wrong … | |
1 ; The program must be keyed in exactly as is given here. 2 3 4 org 0x100 5 bits 16 6 00000000 E90900 jmp start ; Start program execution 7 00000003 42524F574E20464F58 char: db 'BROWN FOX' ; Please key in exactly as shown, 8 ; with a space between … | |
Creating embedded system based virtual Text Display. use 9V battery for supply video : [url]http://www.youtube.com/watch?v=tVU-1ligVYU[/url] source here : [url]http://www.embeddedravi.com/forum/viewtopic.php?f=2&t=12[/url] | |
Hallo, MIPS works with words of 32 bit. But for universitiy, i have to add two 64 bit Integers numbers. first of all, my idea was that i split the numbers and store them in two register. But that's only a theoretical idea. I have no idea how to realize … | |
Please help me to write the following program in 8085 assembly language. Only guidelines required. 5 numbers are stored at consecutive memory location. Arrange them in ascending order and store them in another location. | |
Hi, Am a self teaching Newbie Assembly programmer :) Still in the theoretical Stages. My question is.... [B]According to the book am reading When you convert 254(decimal) to hexadecimal you get 0FEh. And when you convert -2(decimal) to hexadecimal using two's complement you get OFEh.[/B] When i do it manually … | |
I want to write an assembly program to convert Hexadecimal to Binary in 8086 assembly language. I am using Winasm as my compiler. However i have no idea how to write this code. Can anyone shed some light? thanks in advance! | |
we were asked to make a program that adds two digit numbers. I was ableto scan and add the input numbers but I have trouble doing the 'carry' part. i can't divide the sum of the ones place integers by ten. what's wrong with this code? : [CODE] mov al,bl;move … | |
hi dears. I am using Emu8086. I need to generating an array of random numbers. Are there any ready procedure or intrupt? if there are not, how can I do it? thanks. | |
I'm trying to replace some MIPS II instructions using MIPS I - namely the branch likely instructions. I'm having difficulty deciding how to do this. Assume that the branch delay slot is implemented. First off, a branch likely is an instruction that when taken, executes the delay slot instruction whereas … | |
I got a question that most likely will appear in tomorrow's test Well the problem is I have a physical adress of 12345h and I need to get something from there into some variant at the size of 1 byte, not that it matters...the thing is I dunno what to … | |
Lods byte ptr ds:[esi] ;i know that it loads a byte that is a pointer my question is " is the pointer ds with esi as an offset or is it the other way around or am i just plain wrong" ? | |
Hi There, I'm trying to learn a bit of assembler and have got the grasp of the majority of the basics. However I'm struggling to allow a user to enter a string, terminated by a null character when the user hits carriage return. I'd also like to be able to … | |
been googling for 5 days. The library has the book check out for the next 16 days. I'm using debian lenny linux , have nasm installed . I'm looking 1:1 assembly programing. No high level. to me no point in learning assembly if you going to use high level commands. … | |
I don't understand what the issue is here. Here is the line in question: [CODE]beqz $t0, main[/CODE] and I get a syntax error here. Also, why is it that I cannot use the $at register? Also, I get a syntax error fr this line: [CODE]move $a0,$v0[/CODE] Whats wrong here? | |
I am trying to write a program in Assembly (IA-32 architecture), that reverses the string input from the user. I've tried to use push and pop, but I can't seem to get any output. Here is the code. Any Suggestions? INCLUDE Irvine32.inc .data str1 BYTE "Enter a string of characters: … | |
I am trying to read a digital output from a conversion from the ADCH register but i am being told that the ADCH register is invalid. Now, How can I transfer the contents of ADCH to a general purpose register. Here is the code that I used. It is written … | |
1)A positive going pulse which is always generated when 8085 MPU begins the machine cycle. a) RD b) ALE c) WR d) HOLD 2).when a ----- instruction of 8085 MPU is fetched , its second and third bytes are placed in the W and Z registers. a) JMP b) STA … | |
I'm trying to compile an assembly file (.asm or .s) from a c++ file to be used in SPIM. SPIM requires that the file be in MIPS32ABI and for MIPS I ISA. My g++ compiler is not working well and I was wondering if there were any compilers out there … | |
If I assemble a AT&T syntax program in GAS with DOS system calls, will that work similarly to linux assembly, or will I not be able to make that work? Because I like AT&T syntax. And DOS. |
The End.