2,878 Topics

Member Avatar for
Member Avatar for silvercats
Member Avatar for silvercats

I've dumped hexadecimals of a text using windows debugger. So if those hexa values represent every single character by a single hex value,does it mean its binary is that hexa's converted binary value and pc deals with that character using binary but assembly language and people convert and use it …

Member Avatar for thines01
0
164
Member Avatar for scottd82

Hi everyone. I am doing my homework for my computer organization class and I'm running into a small problem. Before I explain what I've done, what I expect to happen and what is happening, I want to assure everyone that I am not looking for an answer to my homework, …

Member Avatar for Schol-R-LEA
0
355
Member Avatar for DeanMSands3

In my wayward youth, I learned a little bit of inline assembler in Turbo C. And that was fun. Then I got into DJGPP which came with GCC and Bell Syntax. And it was confusing. And I gave up. Fast forward 12 years. I'm 30, finishing a bachelor's in CS. …

Member Avatar for DeanMSands3
0
220
Member Avatar for juce

Matrix given in memory to print the spiral in opposite direction from clockwise (left column down the right lower range, right up column, a series of upper left, etc. until you get to the middle) I'm new here, I have to write code for the task above in assembly,could someone …

Member Avatar for Hugo123007
0
2K
Member Avatar for JRE.A

I have a problem when adding 2 numbers in assembly because we are using hex. When add 4+5 (34h + 35h) the output is 9 but if I add 5+5 (35h + 35h) the output displays colon(:) or 3ah instead of 10. Here's the sample image when i generate the …

Member Avatar for thines01
0
222
Member Avatar for Desi991

Hi all my assignment is too add and multiply 32 bit signed numbers. [CODE]INCLUDE Irvine32.inc .data z BYTE "Enter first integer: ", 0 c BYTE "Enter second integer: ", 0 outpt Byte "The addition of two integers is: ", 0 val dword ? .code main Proc call clrscr mov edx, …

0
78
Member Avatar for JoderCoder

Firstly, this is not directly assembly question but quite close, it is machine code. I am asked to add two numbers using stack. The question was actually asking for [COLOR="Green"][COLOR="Red"]1. write a program that adds the numbers 2 and 9 together. The number 2 is stored in memory-address 300 and …

0
54
Member Avatar for rumencho

Hi all,I'm beginner in assembly language. I use TASM and it works well,but I should place all my .asm text files in /TASM/BIN directory ,because only there assembler see the files. and this is quite annoying,I want to have special folder for this purpose and place it whenever I want.

Member Avatar for amar.chukki
0
984
Member Avatar for megan11

Greetings forum, I have an assignment for my architecture class which to implement a 31 backgammon game in MIPS assembly, I have done alot so far, and I have been using 2 arrays to display the board, I used 0s to indicate empty fields and other numbers for example 13 …

0
44
Member Avatar for BleepyE

Im using MIPS and im looking to display the numbers between two other numbers. For example; $t1 = 5 $t2 = 9 Display = 56789 Ive only just started learning the language so im still struggling to get used to it. Thanks

Member Avatar for BleepyE
0
140
Member Avatar for silvercats

I downloaded NASM and NASM-IDE.Is there any specific good IDE? I am going to need windows debug as book says.But there is no debug in windows 7. Where can I download? Any alternatives? DO you think learning assembly will be useful in 2012?

Member Avatar for AceStryker
0
188
Member Avatar for SamY

hi, i have been able to map the 1st 4MBs of the memory but now i am trying to create an allocator. it 1st checks for enought memory using the BITMAP method, then after that it allocates areas where the PDE and all its PTEs will stay. Now i need …

0
63
Member Avatar for stakeMyHeart

please help me. i dont understand this: Create routine to display * based on AL w CR AL=07 CALL 120 & RET output: ***** my professor said cr is call routine, that's all, he didnt tell us what does that mean help me please

Member Avatar for Zssffssz
0
209
Member Avatar for iPanda

I'm trying to check the length of a string, its the most simple way there is but for some reason it says the the length of the string is 14h [CODE] org 100h mov cl,len mov si,offset src mov di,offset dst rep movsb mov ah,0 int 16h ret src DB …

Member Avatar for dheaven
0
117
Member Avatar for ydan87

Hello all, I need to implement iterative (non-recursive) binary search in assembly. The array has 10 elements, starting from 0x10000100, in address 0x10000004 there's the element to search for, and the answer should be put in address 0x10000008 It should be for MIPS and I ran it in QTSpim Here's …

Member Avatar for rubberman
0
141
Member Avatar for kikic

Here I have code in C, I need help to translate this in assembly emu 8086. Please help me if you know. [CODE]#include <stdio.h> #include <stdlib.h> int main(void) { int **mat; // Pointer to pointer int rows, cols, i, j; printf("How many rows you want "); scanf("%d", &rows); //rows = …

0
108
Member Avatar for mohamed moamen
0
134
Member Avatar for asmfreak

hi can someone tell me how to write a code in assembly language to implement a simple countdown timer (only seconds) display on the command prompt screen? thanks

Member Avatar for lulabylove
0
14K
Member Avatar for squares86

It is from Chapter 10 of jeff duntemann's book on assembly language. I tried to write some code by myself but I can't get it to work properly. I need some insight please. [CODE] ;Library Name:hexasc_lib;used as library for hexasc.asm section .data DumpLin: db " 00 00 00 00 00 …

Member Avatar for sbesch
0
236
Member Avatar for hsetaknev

Hi guys, Am a begginer learning assembly .I am using Instruction set of 8085 for simplicity in the understandind. I've down loaded a soft called GNUsim8085.. I dont know how to load a loop n a simulator,and dont know how o input user values.PLEASE guYS tELL ME HOW IF U …

0
175
Member Avatar for squares86

I an a newbie to assembly language, been reading jeff duntemann's book, and I have been trying to write some code by myself too. There is an example in the book on converting binary values to hex values. I decided to re-write the code again by myself for self-practice but …

Member Avatar for squares86
0
160
Member Avatar for kikic

I made a code in assembly 8086. I load matrix (array) in memory with dimension 3x3. but this code works just for this dimension of matrix 3x3. Could someone give me an idea how could i make it to work with dimension m x n? the array is loaded in …

Member Avatar for kikic
0
226
Member Avatar for kamyarn

Hi I want to read a string (Last name) from keyboard, concatenate it to another string (First Name) and then print it on screen. (Windows, EMU8086, EXE Template) First I declare the variables in data segment [CODE] msg1 db 0ah,0dh,"Enter your last name: $" ;prompt message msg2 db "Kamiar " …

Member Avatar for kamyarn
0
6K
Member Avatar for Locke123

So I'm tasked with writing a subroutine to access a certain element of an array. When the subroutine is called, the pointer that points to it is [bp+1]. How would I make it so I could access say the 10th element of this array in the sub routine?

Member Avatar for sbesch
0
163
Member Avatar for lbmve

Good, I'm doing a work in assembley. where I have to reverse the string using recursion: Only by using the following commands: - LOCO, Lodder, ADDD, SUBD, LODL, ADDL, subl, PUSH, POP, PSHI, POPI, CALL, Retn ... trabid:. string "hello world" main: . ... ... rec: # recursive function that …

Member Avatar for Schol-R-LEA
0
103
Member Avatar for toantk_55

I have some problem I have a file .s with codes: [CODE] #double cel2fahr(double *temp) #{ #return 1.8 * (*temp) + 32.0; #} .section .data cel: .double 30.5 scale: .double 1.80 output: .asciz "The fahrenheit value is: %lf\n" .section .text .globl _start _start: mov $cel,%eax call proc_cel2fahrenheit movl $output , …

Member Avatar for gusano79
0
75
Member Avatar for webdeveloper2

I need to know how to do a assembly program that accepts a string with the Instruction format and understand it and then execute it Input: String as“mov eax,10” Output: The string instruction will be executed.

Member Avatar for NotNull
0
227
Member Avatar for jessCPP

Doubts with sidt instruction. Hi Friends! I have a doubt with the sidt instruction. The Intel documentation for “SIDT m” stated: [code] Stores the content of the IDTR in the destination operand. The destination operand specifies a 6-byte memory location. If the operand-size attribute is 32 bits, the 16-bit limit …

Member Avatar for NotNull
0
139
Member Avatar for faith07

Hello everyone, Im new in assembly language. I would like to ask your help to teach me how to convert the below C language into tasm language. thank you very much. #include <stdio.h> #include <dos.h> main() { unsigned int year; unsigned char month; unsigned char day; union REGS regin,regout; clrscr(); …

Member Avatar for neha afreen
0
1K

The End.