- Strength to Increase Rep
- +4
- Strength to Decrease Rep
- -1
- Upvotes Received
- 4
- Posts with Upvotes
- 2
- Upvoting Members
- 3
- Downvotes Received
- 1
- Posts with Downvotes
- 1
- Downvoting Members
- 1
Re:
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. |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 : … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
Do you guys know, how to check how many register i have using DOS command ? |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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: … |
|
Re:
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 … |
|
Re:
[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 … |
|
Re:
[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. … |
|
Re:
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 > … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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. |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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 … |
|
Re:
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. |
|
Re:
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 ? … |
|
Re:
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 … |