2,889 Topics

Member Avatar for
Member Avatar for MaxDev

Hey guys, how can I add two numbers stored in asciiz format ? str1 db "2",0 str2 db "3",0 thx.

Member Avatar for MaxDev
0
98
Member Avatar for mayafree2002

What mathematical function do ASR and ROR perform? For instance I have a two registers for storing a value of 2bytes (R5:R4) then I use [code=assembly] SomeProcedure: mov r20, r2 clr r3 clr r4 clr r5 cpi r20, 0 brge ProcLoop neg r20 com r3 ProcLoop: cpi r20, 0 breq …

Member Avatar for mayafree2002
0
141
Member Avatar for jenymaru08

elow guys, i jut wanna ask if you have any program that have a mouse driven application in assembly languange any suggestion,what program to create ?? thanks a lot

Member Avatar for Evenbit
0
79
Member Avatar for cam875

Is it possible to control a network card using assembly without going through the OS, so you can have two computers communicate to each other over the internet but without winsock or any of that crap.

Member Avatar for Salem
0
63
Member Avatar for GenTwoTeg

i'm having the same problem. i'm trying to write a program in emu8086 that generates the first 15 intergers of the Fibonacci numbers. it begins with the first two numbers, 1 and 2, and then each number after that is the sum of the last two digits....this i understand but …

0
47
Member Avatar for serkan sendur

hi guys, i need to have an ide for assembly development on vista 64 bit operating system. i am a newbie for the assembly language. any helps will be appreciated. thanks

Member Avatar for Evenbit
0
139
Member Avatar for cam875

I think i am going to use mode 13h VGA graphics. But I have a few unanswered questions about it. 1) What does it mean by there are 4 planes, what are those planes, and why do they exist? 2) For an operating system, would the computer be turned into …

Member Avatar for cam875
0
113
Member Avatar for cherryduck

"Write a program in MIPS assembly language which reads two integers a, b, calculates a^3 + 3ab^2 + 3a^2b + b^3 and outputs the result." My question is, how do I calculate powers of things in MIPS? Also I think I probably need to simplify that equation first...does anyone know …

Member Avatar for cherryduck
0
126
Member Avatar for cam875

Is there some documentation that shows what all the different operations and stuff represent in hex or binary like mov = 10011101 or w.e it is its for 80386 architecure btw. thanks in advance.

Member Avatar for cam875
0
108
Member Avatar for cam875

are cpu's directly hardwired to no ascii and If i wrote my own Operating system does the cpu have a built in function that allows me to tell it an ascii number and it will draw it using a default font to the screen without windows help or anything?.

Member Avatar for cam875
0
96
Member Avatar for biran

Dear sir, i am really beginner of assembly low level language. so, please help me. how to program this example. program to evaluates 4*(x^2)+3x+7 if flag==1 or evaluates 9x+3 if flag==0. assume x is a 16 bits unsigned integer. waiting your prompt. bir

Member Avatar for ufg123
0
144
Member Avatar for cam875

I am getting a windows error when I run my assembly program. It only happens when the user enters what is supposed to be entered, which in this case is the character 2. I am using FASM x86 architecture. [ICODE]include 'win32ax.inc' .data inchar DB ? numread DD ? inHandle DD …

0
140
Member Avatar for buffcubby

I have this program doing the fibonacci and I'm trying to implement the stacks and I think I'm doing it wrong because even if I comment out the push and pop calls it will still display the right numbers, any suggestions? [code=asm] .data count DWORD 12 ; Number of loops …

Member Avatar for Narue
0
90
Member Avatar for monkey1

Hi I need help with my assignment. I have almost completed bit my program has to return -1 if th euser eners a non numeric value, which I have problem with. here is my ass Create a small program that takes number as an input and prints the factorial of …

0
41
Member Avatar for dusty97

Hello- I'm currently working on a little assembly program that is meant to take in string A, then string B, and check string B to see if it contains string A. I figured out how to make it search for a single character, but i'm having difficulties in searching for …

0
45
Member Avatar for jendrick12
Member Avatar for jendrick12
0
39
Member Avatar for llinocoe

anyone knows the syntax to display a "test/word" in the middle of screen w/ background color how to display a text in the middle of the screen?

0
45
Member Avatar for kira27

how can i dispaly my first name in the middle of the screen and my last name in top of my first name..???im just a begginer in this language..

Member Avatar for Salem
0
42
Member Avatar for a07859

i had tried a lot example of bootloader program i compile it to .bin file when i copy the file to the floopy disk and i reboot it say no systemdisk can someone tell me why... tyvm

0
64
Member Avatar for a07859

how to make serial interfacing with assembly is it use in and out command or int 14 ?? please someone can tell me thx

0
47
Member Avatar for lhei_mhei

Write a program that will prompt the user to enter a uppercase letter. On the next line, display the lowercase letter entered. If no uppercase letter is entered, display “INVALID”. The Execution should look like this: Enter a Uppercase letter: B Lowercase: b [esc key terminates the program] Enter a …

Member Avatar for a07859
0
91
Member Avatar for lhei_mhei

the prOgram is abOut inputting a string and then the result will be its reversed string.. for example: insecure the result must be "erucesni" i have my cOde belOw.. help me please.. [code=assembly] -------------------------------------- .MODEL SMALL .STACK 100h .DATA MaxChars DB 10 NumChars DB 0 InputBuffer DB 'xxxx xxxx ' …

Member Avatar for a07859
0
100
Member Avatar for lhei_mhei

Write a program that prompts the user to enter a line of text, On the next line, display the reverse letter entered. The Execution should look like this: Type a line of Text: RAINBOW Result: WOBNIAR [esc key terminates the program] would you please help me.. i dont know what …

Member Avatar for a07859
0
84
Member Avatar for defychaos

First post, so go easy on me. I'm hoping an Assembly guru can help me out with my assignment. For some reason, I'm losing my Century when I try to print out date and time in Assembly. Wondering if someone could take a peek and help me out. Also, although …

Member Avatar for randz214
0
2K
Member Avatar for cam875

i am a little confused with something here. If I wanted to write a bootloader to load my kernel up and both the bootloader and the kernel are located on a floppy disk than do I have to format the floppy disk or something or have the two files a …

Member Avatar for cam875
0
97
Member Avatar for urufukiba

I have a programming assignment for assembly and am having a bit of trouble figuring out where i've gone wrong. This is the assignment: I. Write an assembly language program with a data segment that creates the following labels and values (values in angle brackets are descriptions of the value …

Member Avatar for 1337Skillz
0
180
Member Avatar for raghu2383

Hello, I was trying to write the send() system call of net/socket.h in inline assembly. I am using gcc 4.2.3. I managed to write it for socket(). But using similar technique for doing a send does not seem to be working. My socket inline code was [code] // socket(AF_INET,SOCK_STREAM,0); AF_INET …

Member Avatar for raghu2383
0
183
Member Avatar for campuzcrazyness

I'm new here,I just want to have your answers.. any answer,negative or positive I'll acccept it.. 1. Can you please Justify what situations or applications programmers will rather use Assembly Languages than Higher Level Progamming Languages and vice versa. 2. what is the best assembler and why? 3. What are …

Member Avatar for Salem
0
93
Member Avatar for zhinokin

could someone help me how to reverse a string in a86 ...the program will goes like this.user will input a string of 4 characters or less than 4 for ex..whin then it will output nihw..but if the user will input 5 or more than, for ex. whinz the output would …

Member Avatar for sDJh
0
210
Member Avatar for zhinokin

i have a problem with this code...will you please help me with this...the program goes that it will input the base then its power .. for example: base: 2 power: 3 result : 8 the base is multiply itself 3 times... the problem with this one is that it goes …

0
50
Member Avatar for lhei_mhei

Write a program that prompts the user to enter a hexadecimal value. On the next line, display the binary equivalent. If no hexadecimal value is entered, display “INVALID”. The Execution should look like this: Enter a Hexadecimal Value: 0B Binary: 00001011 [esc key terminates the program] Enter a Hexadecimal Value: …

Member Avatar for Salem
0
92
Member Avatar for Evenbit

It's a FizzBuzz question designed to "separate the men from the boys", so don't cheat. :) Write a program that prints the numbers from 1 to 100. But for multiples of three print “Fizz” instead of the number and for the multiples of five print “Buzz”. For numbers which are …

Member Avatar for Evenbit
0
212
Member Avatar for Daveza

Any Can Help Me to Create The Program To Reverse word in the sentence in Assembly Form Example if you input this is a book output is book a is this one word has maximum 10 characters and maximum character in one sentence is 100 characters please help me quickly …

Member Avatar for Tight_Coder_Ex
0
115
Member Avatar for Gagless

All I want to do with the program here is display a name and address. However, I'm getting this error when I run the exe. "C:\MASM611\BIN\P1.EXE The NTVDM CPU has encountered an illegal intruction. CS:000 IP:0077 OP: fo 37 05 0a 02 Choose 'Close' to terminate the application." What's going …

Member Avatar for Gagless
0
134
Member Avatar for belikemike121

Hi all, I've spent hours on this and could not get it to work. There also does not appear to be too much help on the subject online so I'm hoping you can help me! I am implementing a Binary Search Tree in MIPS assembly. I'm having trouble with my …

0
56
Member Avatar for zhinokin

HI... would anyone give me some ideas in converting decimal to binary...?...i have some ideas but its hard for me to implement it...i just came up with the wrong code...i'm using a86 assembly language... .

Member Avatar for zhinokin
0
153
Member Avatar for zhinokin

i need help in comparing a string... the program goes ... ask to input 2 string then compare it, if it is same or not... my problem is that even it is not equal it will print equal... i think the problem is in the compare section. could someone share …

Member Avatar for zhinokin
0
106
Member Avatar for kyutlene

we are ask to do some sort of virus using ASSEMBLY LANGUAGE masm16... can someone help me? pls,pls,,tnx!

Member Avatar for Narue
0
109
Member Avatar for williamthelast

hi there friends i'm trying to sort words by the abc in assembly for the first run it goes well but in the second it misses up and goes in non ended loop. if any one can help i will be thankful for him. [code=assembly] mov cl,[act] check: mov bx,0 …

Member Avatar for Clockowl
0
105
Member Avatar for warren786

I have recently started to learn assembly and I keep on coming across a certain syntax which i don't fully understand and after spending hours researching I find the syntax in code but no explanation so I was hoping someone could explain. I see it in many instructions but for …

Member Avatar for Clockowl
0
146
Member Avatar for akmittal

i am new to assembly programming,can anybody help me out to solve this problem - i have a assembly code which does the atomic increment [code=assembly] Atomic_Add (volatile unsigned int *addr, int additive) { register unsigned int previous; __asm__ volatile ( "pushf;" "cli;" "movl (%2), %0;" /* previous = *addr; …

Member Avatar for Salem
0
156
Member Avatar for PatrickV

I need people to help me develop and beta test my opearting system. I was looking in the job section of the forum and this a not paying job just when people got spear time and know assembly language which is compiled in NASM and i don't know where to …

Member Avatar for ithelp
0
120
Member Avatar for Parv_boy

Hi! I am totally new to assembly. I am trying to learn assembly programming specifically boot sector programming. But I've seen every assembler has it's own syntax of assembly. Plz tell me which assembler would be best for x86 boot sector programming and how to learn the assembly for that …

Member Avatar for Salem
0
82
Member Avatar for pronihilo

Hello, I am currently working on an x86 32-bit tutorial intended for people who already know imperative high level programming languages such as C/C++ and want to learn how to program in assembly. I tried to cover several operating systems (Windows, Linux, BSD) and various assemblers (MASM, FASM, NASM, gas) …

0
61
Member Avatar for Lilith24

Currently I am running the AMD 64 X2 Dual Core Processor 5000+ with Windows Vista. I am new to assembly but have been reading a book on it for a while and am coming to grasps with how it works. The problem is, the book I am reading is from …

Member Avatar for Evenbit
0
101
Member Avatar for Douglas B

I wans wondering if I could get some information on using win32 interrupts and making win32 system calls. I found the interrupt list for windows nt ([url]http://www.ctyme.com/intr/rb-4249.htm)[/url], and Linux ([url]http://www.ctyme.com/intr/rb-8144.htm)[/url], but I'm still unsure about the correct windows interrupt. I'm working on windows XP, but will also be working on …

Member Avatar for Douglas B
0
403
Member Avatar for Renzokouken_22

[INDENT][COLOR="Green"]Guys, we are doing a project in our assembly language subject, and it's a miniature stoplgiht project using the printer port as a power source... Can you please help us what syntax should we use in our project... And also can you give some url,e-books where we can learn how …

Member Avatar for ithelp
0
76
Member Avatar for faisaly

Dear All, would you please tell me in brief that " What are the applications of Assembly Language where any high level language becomes insufficient". Kind regard

Member Avatar for Olof Forshell
0
655
Member Avatar for noktasizvirgul

Hi All, I need to convert a Assembly Code to high level languages such as C/C++, C#, .Net vs vs. I found a [URL="http://www.microapl.co.uk/asm2c/index.html"]website [/URL]that converts it but with very very high price. I am looking for a simple program which tries to convert assembly to high level language. I …

Member Avatar for Olof Forshell
0
1K
Member Avatar for harewei

Ok, I know I'm still new with assembly, but I can not find an operand for division even though I've searched in the assembly help contents and online btw I've looked at some other posts which has something like mov and div but I don't think they work maybe my …

Member Avatar for Olof Forshell
0
82

The End.