Posts
 
Reputation
Joined
Last Seen
Ranked #507
Strength to Increase Rep
+4
Strength to Decrease Rep
-1
73% Quality Score
Upvotes Received
4
Posts with Upvotes
2
Upvoting Members
3
Downvotes Received
1
Posts with Downvotes
1
Downvoting Members
1
3 Commented Posts
0 Endorsements
Ranked #2K
~21.9K People Reached
Favorite Forums
Favorite Tags
Member Avatar for Rameses

How can I perform Division in Marie Assembly Language? The functions available in Marie programming are for Addition and Subtraction. Any help will be appreciated.

Member Avatar for konbleck
0
6K
Member Avatar for bd338

Hello everyone! I, once again need your help :). I've expanded my hanging boot loader, to a hello world boot loader. Or, at least that's what it's supposed to be, when I get it running. This is my Assembly code: [CODE] [bits 16] [org 0x7c00] message db "Hello, world!", 0 …

Member Avatar for gerard4143
0
214
Member Avatar for klactose

Hello all, When I try to compile a small program I am getting an error that I do not quite understand. I get this error: media_tracker1.c: In function 'add': media_tracker1.c:152: error: expected expression before ';' token when I try to compile this code: [CODE= "c"] #include <stdio.h> #include <stdlib.h> #define …

Member Avatar for klactose
0
94
Member Avatar for D-P

Hi, I need this program to print ascii code that I entered to al. The problem is that it is always print the char of the value ; i.e If I type a, al=61. How I print just the '61' and not the 'a' ? Here is my code : …

Member Avatar for NotNull
0
1K
Member Avatar for Recursive

I think these two code snippets should have the same effect. The current code is [code] add esp, 36 pop esi sub esp, 40 [/code] which works. I want to replace it with [code] mov esi, [esp + 36] [/code] but replacing my current code with this code has a …

Member Avatar for wildgoose
0
127
Member Avatar for goody11

My friend and I are trying to write a program for my Spanish teacher so that she can just type Spanish words and English words into an application, those words get stored as an array somewhere, and then another program that tests the kids uses that array. The program gives …

Member Avatar for s_sridhar
0
113
Member Avatar for DynV

I made a long research to use the Modulo operator in Assembly language and the closest I found was the DIV operator however it's not available on the simple educational Assembler PEP8 [URL="http://www.filewatcher.com/b/ftp/ftp.pepperdine.edu/pub/compsci/pep8/downloads.0.0.html"]http://www.filewatcher.com/b/ftp/ftp.pepperdine.edu/pub/compsci/pep8/downloads.0.0.html[/URL] with the following operators [URL="http://pastebin.com/f595fb11b"]http://pastebin.com/f595fb11b[/URL] (translation from French ''Annexe C'' in [URL="http://www.er.uqam.ca/nobel/k20250/Notes_cours.html"]http://www.er.uqam.ca/nobel/k20250/Notes_cours.html[/URL] detailled in "Chapitre 7"). Is …

Member Avatar for sysop_fb
0
650
Member Avatar for Clockowl

Hey guys, So I have compiled my first home-written static library (named PixGUI) that happens to call OpenGL functions. However, I noticed that when compiling (using MinGWs GCC with Code::Blocks project set to "static library") it doesn't matter whether I supply the linker with libopengl32.a or not, it simply compiles …

Member Avatar for Clockowl
0
200
Member Avatar for Vis781

Hello everyone, I hope I have posted this in the correct forum. I have a good knowledge of VB.Net and VC++ and have now takent he brave step into assembly level programming. I'm starting out with just a bit of inline assembly in a c++ program and toying around with …

Member Avatar for wildgoose
0
265
Member Avatar for elitedragoon

Say I got a number, I enter it in. (like 5). Now I want to convert that to a text string that represents that number (five). I also want it so that if I were to print a big number like 543 or something it will print that out in …

Member Avatar for ArkM
0
143
Member Avatar for rownak
Member Avatar for MosaicFuneral
0
75
Member Avatar for laconstantine

I started with masm32 and i have some questions I read this [QUOTE] Under Win16, there are two types of calling convention, C and PASCAL C calling convention passes parameters from right to left, that is , the rightmost parameter is pushed first. The caller is responsible for balancing the …

Member Avatar for laconstantine
0
230
Member Avatar for LangTuHaoHoa

For Example .I have a function that code in C++ : [CODE] void MyFunc(int s) { struct itemRec { int code; int index; } bItem; bItem.code = 0x0000000B; bItem.index = s; __asm { push eax push edx mov ecx,0x00625388 push 00000000h lea edx,bItem push edx push 00000016h mov eax,0x00487273 call …

Member Avatar for LangTuHaoHoa
0
278
Member Avatar for j_cart007

this is my code which copies 1st string into 2nd String. [code] AREA StrCopy1, CODE SWI_WriteC EQU &2 ENTRY ; mark the first instruction main ADR r1, srcstr ; pointer to first string ADR r0, dststr ; pointer to second string BL strcopy ; copy the first into second SWI …

Member Avatar for j_cart007
0
155
Member Avatar for eniwe

Learning assembly and 'am trying to move from 16-bit to 32-bit. i have this assembly code to display a string in a message box. [CODE];tasm32/tlink32 .386 .model flat extrn MessageBoxA:proc extrn ExitProcess:proc .data head db " 'Heard melodies are sweet,",0 body db " but those unheard Are sweeter;'",0 .code begin: …

Member Avatar for eniwe
0
135
Member Avatar for Alex_

Hello everyone. I'm trying to do this in nasm under linux : [code] cmp eax,ebx jng .loop[/code] and also [code] test eax,ebx jng .loop[/code] and yet also [code] %if eax < ebx jmp .loop %endif[/code] I want to loop while eax is lesser than ebx and non of the 3 …

Member Avatar for Alex_
0
148
Member Avatar for unregistered

[CODE] GNU nano 2.0.7 File: hello.asm section .data hello: db 'Hello World!', 10 helloLen: equ $-hello section .bss section .text global _start _start: mov eax, 4 mov ebx, 1 mov ecx, hello mov edx, helloLen int 80h mov eax, 1 mov ebx, 0 int 80h [/CODE] why does this compile …

Member Avatar for unregistered
0
143
Member Avatar for Lamya

[COLOR="Green"]Hello Programmers[/COLOR] This Is My Question & the answer But .. The out put not exist i don't know what is the wrong with it [COLOR="Red"]Write a program that will take as an input 5 Capital Letters and then display on next line in small letters and in reverse order. …

Member Avatar for Lamya
0
117
Member Avatar for Samran

Hi all, I have written a code in assembly, assembler used is NASM. The code worked with XP 100% correctly but it is not working with Vista. Please tell me how to make it work on Vista too. In XP and VISTA both, I went to Start > Run > …

Member Avatar for sysop_fb
0
133
Member Avatar for r00ster

My friend is doing a course in computer science and needs help with a few questions considering assembly. Well at least I think it is assembly. Here goes: 1. What alphabetic character will be moved into DL if the mov dl,25h instruction is executed? 2. What is the length of …

Member Avatar for sysop_fb
0
172
Member Avatar for Alex_

Hello, how does division works in nasm assembly language? I want to get the least important digits from a binary number. ex: 1001b /10= 100.[B]1[/B]b. The bold signed one is what i like to get. Any suggestions? Further explanation: What i want to do is convert a binary number into …

Member Avatar for Alex_
0
2K
Member Avatar for j_cart007

hi ! i'm very new to assembly and learning bit by bit but unfortunately i'm asked to write a program which encrypts a string using caesar cipher encryption method and then print that encrypted text and save into the address. i'm very hopeful that somebody will definitely solve my problem …

Member Avatar for j_cart007
0
190
Member Avatar for FandaR

Hi, i need to school some C code. Requirements are: Use in code some Functions with parameters, pointers, strucutres and global and private variables. Dont you have some code for it? I havent time to do it. Thank You very much.

Member Avatar for Narue
0
76
Member Avatar for theduff

I am writing a program that will reverse the order of ASCII code. The user input a character and output the reverse 7 bits of it. EX: 011001 to 100110. I am trying to understand the sll and srl instructions better and how they are used because they seem to …

Member Avatar for theduff
0
3K
Member Avatar for drjay1627

how do i concatenate a an array. This is the code. [code] char data [128]; char c, s, l; char *cmd_array [128]; count = 0; char * pch_W; pch_W = strtok ( inbuf, " " ); while ( pch_W != NULL ) { cmd_array_W [ count ] = pch_W; pch_W …

Member Avatar for drjay1627
0
162
Member Avatar for siggivara

I want to write an x86 AT&T assembly function that compare a char-array one caracter at a time. If two characters at the same index are unequal it's suposed to return -1, else return 1. I'm going to call this function in a C code. So the function-call would look …

Member Avatar for siggivara
0
1K
Member Avatar for Alex_

Hello assemblers :) . I am trying to sort a word backwards, like this: abcde -> edcba This is my code [code] section .bss aloc resb 10 %macro print 2 mov eax, 4 mov ebx, 1 mov ecx, %1 mov edx, %2 int 80h %endmacro section .data str: db 'abcde',10 …

Member Avatar for Alex_
0
2K
Member Avatar for destruct0

Hello! I have a problem when I try to do some interrupt in assembly program. When I try to execute, executable file i get this message "Segmentation fault.". Please help? I have this problem almost all interrupts. Sorry for my bad English.

Member Avatar for destruct0
0
108
Member Avatar for neutralfox

Hello, I need a little help for word multiplication, according to my notes, to multiply a word, we should put the multiplicand in AX, the multiplier in a register or memory variable and the result should appears in AX(low) and DX(high). The problem is how to get the product ? …

Member Avatar for neutralfox
0
78
Member Avatar for Alex_

Hello! I'm trying to swap some characters in this form, in Linux+NASM: abc -> cab -> bca -> abc I tried the following method [code] section .data string: db 'abc',10 strlen: equ $-string section .text global _start _start: mov ebx,1 add ebx,string mov string, [ebx] [/code] But it gives me …

Member Avatar for Alex_
0
2K