I'm just getting started with assembly language programming. can anyone tell me how, using SPIM, I convert an ASCII string (which contains hex digits) to a binary value?
Thanks
Im programming PIC 16F84 microcontroller using assembly to rotate 2 stepper motors. Here's the scenario, 1 switch will control the motor, if I press the button the 1st motor rotates if I press...
hi,
How do I compare two strings in assembly?
I need help to convert following code for Delphi inline ASM :
http://www.bsdg.org/SWAG/INTERRUP/0022.PAS.html
/////////////////////////////////////////////////////////////////
{$defin...
Hello again. I want to do the following :
I want to open an existing file (*.txt) count the bytes contained, and return the result in the screen.
I know that after the file opening (and t...
i'm stuck on phase6, i think it is the linked list that is giving me problems
node1 db 76h, 3, 2 dup(0), 1, 3 dup(0), 0F0h, 0A5h, 4, 8
I can get to the last bomb explosion fu...
Hello all,
I got a problem when compile an asm file to 16-bit .obj. I used compiler ml.exe to do this work. Here is my command line:
ml /DIS_16 /c /W3 /Zi /nologo /Fo Disk16.obj Disk.asm
Th...
hi everybody, do anybody know how can i write assembly code on iphone device?
i read some documentation for assembly, however when i tried to code simple ex: addition 2 integer number :
...
I am having trouble with this bomb. I know i need to feed it six numbers
when eax = *(esi + ebx * 4 - 8) + 5;
how can this be true?
eax = *(esi + ebx * 4 - 4)
I did some math in...
Can't assemble and run codes. TASM folder is on my C drive (c:\TASM). Placed .asm file on C drive also (c:\hello.asm). When try to assemble the source .asm file cannot be found.
Tried C:...
Dear experts,
i am trying to write an assembly for SSE SIMD. But to make it simple, i am using this library
xmmintrin.h
however upon adding the include file
#include <xmmintrin.h>
t...
sounds to be a bit kiddy question but still ....what is assembly language all abt ?? what it is used for ? i want to learn the language .......wanted some linkz to learn or guides ..... ?? ...
I need help with an assembly language program using masm 6.11 (16-bit) that will calculate and print the first 12 Fibonacci Numbers ex: 0,1,1,2,3,5,8,13,21,34,55,89
Let me First tell you that i am facing problem on linux kernel. I did some changes in kernel C source but then i am getting oops message that hangs my linux.
c0131250 kmem_find_general_cache...
Hello,
I need to port a program from windows to Linux enironment. Because the inline assembly syntax difference between VC and gcc , I need to convert some inline assembly code. Actually I a...
hello everyone ... this is my first post here and i'm willing to find an answer to my question and i appreciate ur help ... my subject is sending an AT command from a mcu to a gsm engine conne...
Dear All,
Can anyone teach me how to write a 68000 assembly language programme which will check whether a string is palindrome or not?
Thanks!
Are the I/O Interrupts Services (e.g. INT 21 Service 3D) routines available in Assembly Language? Can someone provide me some examples? Thanks!
Having trouble on this phase..
Answer: 68 60 8d 04 08 c7 05 dc a1 04 08 76 3b 79 13 c3 ec ba 98 bf
Getting SegFault.
Team tjames+cladd
Cookie: 0x13793b76
I have an exe file containing a JMP assembly instruction:
Assembler:
jmp 0052E4A8
with opcode
E9 28 08 00 00
From what I understand the opperation (JMP) is identified by the f...
This may be a simple problem but i'm new to MIPS and i'm having trouble.
I need to extract a field for constant values i=6 and j=23 from register $t3 and place it in register $t0.
I know t...
I am debugging two piece of code which fails with NT status code 0xc000001d (ILLEGAL_INSTRUCTION). They are valid instruction and I have no idea why. Is it possible that it is hardware problem...
"Implement, in LC-3 assembly language, a program that will prompt the user for a string up to 50 characters followed by the carriage return and test it to see if it is a palindrome. Print out...
hey, I need to diffuse a "bomb", I was hoping I could get some advice, I have a vague idea of what I need to do.
080519c4 <phase_1>:
80519c4: 55 push %ebp
80519c5: ...
win32 api, at the end of a function (specifically a dialog procedure returning 0) the code is
xor eax,eax
leave
ret 16
what happens if you omit the 16 from the ret?