2,878 Topics

Member Avatar for
Member Avatar for Kavkaz86

Write an 8086 assembly language program that will read a single byte arbitrary hex value declared in the data section of the code, convert this value into decimal, display it on the screen and then exit back to DOS. For example, if the value defined in your data section is: …

0
45
Member Avatar for rumencho

Hi all, I,m reading "Art of assembly language" and author says that he had included a library files on a companion cd-rom, but I had downloaded the book for free on the internet and now i don't have these files,can you help me to find them?

Member Avatar for Salem
0
105
Member Avatar for AsmNewb

I used a guide from Ticalc.org. ANd the assembler gave me this code, could someone please tell me what's wrong? I have all the requirements that are required for TASM. Heres the error that MS-DOS had given me. C:\ASM\TASM>asm hello ==== Now assembling hello.z80 for the TI-83 Plus ==== TASM …

Member Avatar for codehound
0
136
Member Avatar for asymmetric

hi! i'm starting to program in asm (i have a school project). i'm programming in intel asm for an 8088 simulator (the one in tanenbaum's "structured computer organization" book) i have a question: is it a mistake to write subroutines that use variables to store (intermediate and return) values? shouldn't …

Member Avatar for asymmetric
0
58
Member Avatar for badbloodyeyez

Hi, I would like to detect when a person loggs off or shutdown or restart using 8051. I can't get any information on the web if eny1 have any idea please let me know. This is a process where I will detect when the user shutdown or log off, this …

Member Avatar for badbloodyeyez
0
107
Member Avatar for asymmetric

hi! in my 8088 asm program i'm reading some text from stdin thru the [icode]GETCHAR[/icode] syscall (117), and then i have to write that text into a file, using [icode]WRITE[/icode] (4) it seems to me as there are two approaches: the first is to format the chars as a string …

0
47
Member Avatar for matiome
Member Avatar for Salem
0
95
Member Avatar for MZeus

I've written the following program [code=assembly] ;print string using bios service [org 0x0100] jmp start message: db 'hello world' start: mov ah, 0x13 ;service 13-printing string mov al, 1 ;subservice 01-update cursor mov bh, 0 ;output on page 0 mov bl, 7 ;normal attribute mov dx, 0x0A03 ;row 10-column 3 …

Member Avatar for Ancient Dragon
0
122
Member Avatar for asymmetric

hi! i'm doing a university project in asm using the assembler found in tanenbaum's book "[i]structured computer organization[/i]"([URL="ftp://ftp.cs.vu.nl/pub/evert/"]ftp here[/URL]), which produces code to be run on a [B]8088[/B] emulator (s88) so, what i wanted to ask is: say i want to call a subroutine that needs some variables. the most …

Member Avatar for Salem
0
123
Member Avatar for luvyah2187
0
49
Member Avatar for loimarie

Hi everyone!Can you please help me with my project.My problem goes like this: I have to make a bcd coded program in finding the modulo of a number,assemble it in masm and load it into the pic16f84a.I am going to use a dip switch for it's input and 1 7-segment …

Member Avatar for sDJh
0
171
Member Avatar for freude23791

Can u help me on converting ascii to decimal.... I've used the algorithm in the readint procedure but it doesn't work.

0
53
Member Avatar for deltanusigma

I am using the book Mastering Turbo Assembler 2nd edition using the tasm 5.0.(o book uses the version 4.0, but with a lot of cost that I got to find it was the version 5.0) the problem is that don't get to carry the programs in I darken him/it way …

0
70
Member Avatar for rumencho

Here is my question. We declare: var1 db 1 and consider that in memory var1 will be placed at address 0100h Now,when we move var1(byte long) in AX (which is 16 bits long) AX will be filled with value at memory location 0100h + value at 0101h, because AX must …

Member Avatar for gsbr
0
109
Member Avatar for jetamay

DOSSEG .MODEL SMALL .STACK 100h .DATA .CODE start: MOV AX,01h MOV DX,0Fh XCHG AX,DX PUSHF POP AX INC AX DEC AX PUSH AX POP DX ADD AX,0Ah MOV DX,02h SUB AX,DX DIV AX INT 20 END start I was hoping that after I compiled that I would be able to …

0
75
Member Avatar for bignick270

I have source code written in assembly for a radio tag and we need a quick way to change the id number each time it is programmed. My background is in C and I want to know if there is an equivalent to C's #define statement in assembly. The #define …

Member Avatar for abhisdm
0
71
Member Avatar for lhei_mhei

i am a beginner of assembly language programming particularly on that with TASM.. We are asked to code a program wherein the user will asked to input a character or a word and then it will print the number of characters inputted by the user.. counting number of characters includes …

Member Avatar for abhisdm
0
104
Member Avatar for rayvai

Hi guys! I'm trying to code in NASM, Real-Mode a simple keylogger which saves keystrokes in a text file(log.txt). I only want it to work in the dos prompt, not the dangerous keylogger type. Only te simple one. Help please? Thanks!

Member Avatar for Ancient Dragon
0
30
Member Avatar for Syncccc

Hi, I currently have an task to complete on Assembly. I have been supplid the following code [code]#include <iostream> //for cin >> and cout << #include <conio.h> //for _kbhit using namespace std; #define dollarchar '$' const int maxchars = 5; // you may alter this but it should be at …

Member Avatar for abhisdm
0
123
Member Avatar for AndreC

This is a very quick and easy question: How do I move a literal value into a register? I need to move the value 2 into a register with address 0x0800 of a dsPIC30F6014A. I have tried the following: [CODE]MOV #0x0002, [0x0802];[/CODE] but I get an error message stating "Invalid …

Member Avatar for abhisdm
0
82
Member Avatar for it2051229

I'm trying to create a program where the user enters a digit(more than one digit) and am planning to print the ascii version afterwards. Here's my source code with comments on the INPUT area. The input is a LOOP where it keeps asking the user to enter a number until …

Member Avatar for abhisdm
0
89
Member Avatar for it2051229

I tried creating a program that computes for a factorial of a number. So assuming that the user has entered a SINGLE digit number like '5' the output would be '120'. Every input is a hexadecimal so I converted the input '5' hexadecimal into it's decimal version and there were …

Member Avatar for it2051229
0
84
Member Avatar for Andriy_Gonz
Member Avatar for AndreC

Hi I need to do a correlation of 40 samples using a dsPIC30F6014A (@80Mhz) in less than 15us, but found that when I write the correlation in C, it takes way too long (about 40us). I came accross the MAC function in assembly, which (if I can get it going) …

0
49
Member Avatar for cinderella_nez

HI all, I'm a newbie here. I need your help, does one of you know how is the code to countdown from 99 with 7 segment and atmel 89s51 or 89s52? plz help me soon..

Member Avatar for abhisdm
0
539
Member Avatar for nemoo

hey all:) is there is a code in assembly language similer to if - else statement in c language??:?: i want to write a program to calculate the factorial of any no. using assembly and i need if - else statement in this program plz help me as fast as …

Member Avatar for binu_ji
0
76
Member Avatar for nvbond

if any one can please help me with the code please emailme at <snipped email> the code i wrote is [code] MVI E,17H MVI C,3BH MOV D,C L1: MVI A,00H OUT 01H OUT 02H L2: CMP C JZ L3 DAA OUT 03H LXI H,03E8H D1: MVI B,0D6H D2: DCR B …

Member Avatar for binu_ji
-1
128
Member Avatar for cam875

Hello, I am working on a very simple bootloader for my 80386 AMD CPU in assembly, my assembler is NASM and I am wondering why this code is not working properly. When I boot from my floppy disk It says reading DMI pool data and than an error. Is it …

Member Avatar for cam875
0
72
Member Avatar for Alex Edwards

I've been trying to find time to learn Assembly through the HIDE HLA IDE, but I am completely ignorant when it comes to Assembly. I do not know if my code will be portable when I start learning it. Do other Assembly languages conform to the same standards, or is …

Member Avatar for Narue
0
137
Member Avatar for SHWOO

I am trying to print a two-dimensional array to the screen. My algorithm probably isn't correct but I am having trouble even getting the process to work. on the call I get ----error A2206: missing operator in expression This line add ebx,tmpRowSize * rowIndex I get ------error A2026: constant expected …

Member Avatar for SHWOO
0
162

The End.