3,896 Topics

Member Avatar for
Member Avatar for geno93n0

Is there a code to set the font color for all outputted text in a86? I have to combine the following two programs, using the background from SIEGE and the content of FTCONV. My problem is that I'm working on a limited timeframe and I'd really like to know if …

Member Avatar for geno93n0
-1
109
Member Avatar for Dewey1040

I honestly don't fully know where to start with this program but this is what i have Write a MIPS program which read one line at a time from console. For each line that you read, print two lines on the console: echo print of the line and types of …

Member Avatar for wildgoose
-1
1K
Member Avatar for jingo1126

ive been wondering why wont codes make a file [code] .model small .stack 100h .data buffer db 10,?, 10 dup(' ') .code start: mov ah,1 int 21h cmp al,"1" je input jne finish input: ; will input string i.e "qw.txt" mov ax,seg buffer mov ds,ax mov dx, offset buffer mov …

Member Avatar for NotNull
-1
308
Member Avatar for ov3rcl0ck

I'm extremely new to assembly and was wondering if there is a speed difference between 16, 32, and 64bit registers.

Member Avatar for wildgoose
-1
165
Member Avatar for jingo1126

guys need help says when executed.The syntax of command is incorrect.. i dont where i went wrong..here is my code.. [code] .model small .stack 100h .data file db "TEST.TXT",0 ; File name new db "Rename.txt",0 ; New name dir db "D:",0 ;Current directory .code start: mov ax,seg dir mov ds,ax …

-1
73
Member Avatar for Nathan Campos

Hello, I use Nasm as my default Assembler, but with a couple days i was testing MASM and now i want to know how many users here use this Assembler. Thanks, Nathan Paulino Campos

Member Avatar for NotNull
-1
93
Member Avatar for blerina12

Hello guys. I am having a problem with the following code. When I try to run the program the instruction int 21 causes an access violation. Can someone tell me how to fix this problem? [CODE].386 .model flat .stack 100h .data message db 'Hello World', 13, 10, '$' .code _start: …

Member Avatar for blerina12
-1
510
Member Avatar for maria azhari

i need coding assembly ic 8051 for my project scrolling led. led clock and time for update one years...help me plz.... tq

Member Avatar for wildgoose
-1
46
Member Avatar for punchinello

Excuse me but isn't this program going to display "1" on the screen? Thank you very much! [CODE].8086 DATA SEGMENT CHAR DB 31H DATA ENDS STACK SEGMENT STACK STACK ENDS CODE SEGMENT ASSUME CS:CODE,DS:DATA,SS:STACK MOV AX,DATA MOV DS,AX MOV AX,STACK MOV SS,AX ;--------------------------------- START: MOV DL,CHAR MOV AH,2 INT 21H …

Member Avatar for NotNull
-1
93
Member Avatar for punchinello

:$Hi! Please excuse me if this is a stupid piece of programming code I wrote. I just started to learn how to program in x86 assmbly and apparently it's gonna be quite a while before I get the hang of it. Well with this program I want to convert the …

Member Avatar for punchinello
-1
161
Member Avatar for jingo1126

guys? im creating my own program..first im using tasm.. my problem is i have the code for cursor.. [code] ;set cursor location(dh,dl) mov dl, 16 ; column. mov dh, 16 ; row. mov ah, 02h int 10h ;symbol of cursor mov al, 'x' mov ah, 0eh int 10h [/code] my …

Member Avatar for jingo1126
-1
4K
Member Avatar for DdoubleD

See attached project. This is a very small test project so I can learn. Here are my questions: 1) I've overridden the Install and Uninstall in my Installer component based class, but they don't seem to get called...why? I am setting a breakpoint in the Install override and running in …

Member Avatar for DdoubleD
0
581
Member Avatar for pokerstar

I am trying to convert this for loop in C++ to ASM: [CODE] for(x=y; (x>=y) && (array[x-z]>temp); x=x-z) { array[x] = array[x-z]; } [/CODE] This is what I have so far: [CODE] mov ax, y mov x, y for_loop: mov ax, x cmp ax, z jl exit_for_loop ........... .. Array …

Member Avatar for pokerstar
-1
177
Member Avatar for Alex_

Hey guys. I want to read from a file created by me from a specific position. But i don't know how to move the file cursor. [code=ptasm] TITLE ep1 .MODEL SMALL .STACK 10h .DATA text DB '1234567Start:7890.end',13,10 text_length equ $-text dir db 'D:\myfile.dat',00h buff db 17 dup('$') f_handle dw 1 …

Member Avatar for NotNull
-1
1K
Member Avatar for shopnobhumi

I need to find the IPC(instructions per cycle) for each processor, the clock rate for p2 that reduces its execution time to that of p1 and the numbers of instructions for p2 that reduces its execution time to that of p3. processor ____ clock rate__ no. inst._____time p1_____________2ghz____20*10^9 _____7s p2____________1.5 …

Member Avatar for wildgoose
0
76
Member Avatar for NotNull

Load a user generated character set, should work on computers equipped with VGA cards. Assembles with 16-bit NASM as an absolute binary image (.COM). [code] bits 16 org 100h jmp word drip0_start char_set: times 416 db 0 msg db '0o l0^d user char generated',0xd,0xa db 'bitmaps can also be used....',0xd,0xa,0x24 …

Member Avatar for NotNull
0
134
Member Avatar for fafi_ali

hi everybody, do you know how to deploy crystal report? actually i took the exe only to the clients computer (as it's the first time i work on crystal report) but when i try to run it it thraws exception:- couldn't load file or assembly 'CrystalDecisions.CrystalReports.Engine,Version=10.5.3700.0,Culture=neutral,PublicKeyToken=692fea5521e1304'or one of it's dependencies.The …

Member Avatar for fafi_ali
0
111
Member Avatar for JainishP

I'm kind of stumped on a project. The purpose of the project is to decode a floating point number to find it's sign, exponent, and significand, etc... So far I've been able to get a user input float number into binary32 format using few lines of assembly code(professor told us …

Member Avatar for JainishP
0
190
Member Avatar for shahab03

so here is what my program does Please enter a number: (lets say I enter 5 store in $01) Please enter a another number: lets say I enter 3 (store in $s02 next condition is beq $s01,$s02, end bne $s01,$s02, loop and loop needs to provide user upto five opportunites …

Member Avatar for shahab03
0
72
Member Avatar for shahab03

hi there.. wondering if someone can provide me a sample that takes a number from the console as user input and prompts the user to enter another number. if the second number matches the first one then prints something if not then let the user try for another 5 times.

Member Avatar for wildgoose
0
34
Member Avatar for rvaiksaar

Hello, sorry if this is a stupid one, I recently started learning assembly and I have read many different tutorials, most of them start with " cpu has 8 main purpose registers... " bla bla you all know that. Ok so cpu has a few registers for programs to use, …

Member Avatar for rvaiksaar
0
114
Member Avatar for mgyucht

I have been having trouble with assembling a program, and I would really appreciate any help. The program is as follows: .model small .stack .code start mov ah,2h mov dl,2ah int 21h mov ah,4ch int 21h end When I build it I get a "error a2008: Syntax error: start" error. …

Member Avatar for jingo1126
0
551
Member Avatar for jingo1126

ok i can inverse the code like 1234 to 4321..but when i applied jmp and cmp i dont know what goes wrong with my data.. code without loop [code] .model small .stack .data .code start: mov ah,1 int 21h push ax mov ah,1 int 21h push ax mov ah,1 int …

Member Avatar for mathematician
0
105
Member Avatar for dharen

help me pls i have a project its DEPRESSION TEST using Assembly Language i need to know how to create a new screen after entering a character and tally all the answers that user gives on the questions pls help me i dont know the codes to be used tnx …

Member Avatar for dharen
0
37
Member Avatar for maricel91

help me about this: A program that ask your name and display it. we're using msdos.. thank you..

Member Avatar for jingo1126
0
49
Member Avatar for JasonL220

when i use this function of my library on windows everything works perfectly, but when i tried to port the port to compile with gcc on linux, it compiles and links to the rest of the library fine but it cause my app to crash. i think i might be …

Member Avatar for wildgoose
0
91
Member Avatar for mduduDan

I am trying to incorporate a biometric fingerprint reader into a c# application. The dll's associated with the reader hardware are Microsoft.VC80.CRT.manifest, msvcp80.dll, msvcr80.dll and id3CertisImage.dll. I think to be able to use the reader I need to add these files as references on the project, but this fails with …

Member Avatar for sknake
0
197
Member Avatar for markfisher

Dear Programmers, Hi I wrote a simple asm program to output a char on STDOUT in windows (MS-DOS) Here is my code: ------------------------------------ .386 .MODEL FLAT .STACK 256 ;Reserve 256-Bytes .DATA char BYTE "a" .CODE _main: MOV AH, 02h ;Sub-function 02h -> Output STDOUT MOV DL, char ;Char to output …

Member Avatar for wildgoose
0
157
Member Avatar for eniwe

When a CALL instruction is executed, the address of the current instruction is pushed into the stack. Then, the execution makes an unconditional JMP to the address specified as the parameter of the call instruction. [CODE].code Test: call delta delta: pop ebp sub ebp,offset delta mov esi,[esp] and esi,0ffff0000h push …

Member Avatar for eniwe
0
106
Member Avatar for codeguru_2009

i've copied this code from net but this is not working. Only blank output. can anyone help. i'm new to assembly. [code][ORG 7C00h] ; This is where BIOS put me ; --------------------------------------------------------- ; Main program ; --------------------------------------------------------- mov si, msg ; Print message call putstr hang: jmp hang ; Hang! …

Member Avatar for NotNull
0
175
Member Avatar for jsuvrat

Hi All, I am working on the Nohau Emulator with a POD having 68HC11E9 controller in Expanded mode. It was working fine with my target board a couple of months back, but now a days I am facing a problem with it. When I do external memory mapping in the …

Member Avatar for Salem
0
273
Member Avatar for shopnobhumi

.txt .globl main main: # f= (g+h)-(i+j); li $s0,0 li $t1,0 li $t2,0 li $s1,4 li $s2,5 li $s3,6 li $s4,7 add $t1, $s1, $s2 # sum of s1,s2 is stored in t1 or temporary variable t1 contains g+h add $t2, $s3, $s4 # sum of s3,s4 is stored in …

Member Avatar for wildgoose
0
155
Member Avatar for Nathan Campos

Hello, I'm really starting in Assembly, but i want to know if it's possible to develop for ARM devices like those who run Windows CE, because i have an Jornada 720 and i want to develop to it, i'm already a Java developer, but Assembly will be another language that …

Member Avatar for jsuvrat
0
153
Member Avatar for Alexar93

Hi! I've started to write my kernel in assembly but I think its far too complicated! Instead I would like to try to write it in C/C++. I'm new to these languages but i've written alot in VB and C# so I don't think it's going to be too hard …

Member Avatar for Salem
0
206
Member Avatar for NotNull

I have the address of the first byte of an array, the address of the array +4 would get me the address of the fifth byte, the address of the array +0 would get me the address of the first byte. For example: [code] arr db 1,2,3,4,5 mov bx,offset arr …

Member Avatar for wildgoose
0
81
Member Avatar for oufa
Member Avatar for NotNull
0
73
Member Avatar for xenocide001

hi all i have some homework that i cant finish cuz i dont know how to print it the way my teacher wants it.. here's the thing *Print this in debugger [CODE] hello . . . 25 times[/CODE] in the right of the screen.... this is what i have so …

Member Avatar for xenocide001
0
215
Member Avatar for oufa

i am oufa from egypt i am making an assembly project of an elevator i want to display my result on 7 segment could any one help me

0
63
Member Avatar for NotNull

Some 16-bit stuff... A segment address is bit shifted to the left by four bits to form a 20-bit physical address and a 16-bit offset is added to the result to index into a segment. So 1234:0100 would create the physical address 12440 Is this correct???????????

Member Avatar for wildgoose
0
88
Member Avatar for x0s0z0

[code];Fail to add ← function,why? WINWIDTH=60 WINTOP=10 WINLEFT=10 WINBOTTOM=20 WINRIGHT=WINLEFT+WINWIDTH-1 COLOR=54H PAGEN=0 CTRL_C=03H CSEG SEGMENT ASSUME CS:CSEG START: MOV AL,PAGEN MOV AH,5 INT 10H ; MOV CH,WINTOP MOV CL,WINLEFT MOV DH,WINBOTTOM MOV DL,WINRIGHT MOV BH,COLOR MOV AL,0 MOV AH,6 INT 10H ; MOV BH,PAGEN MOV DH,WINTOP MOV DL,WINLEFT MOV AH,2 …

Member Avatar for wildgoose
0
116
Member Avatar for x0s0z0

DATA segment produ1 dw 4 dup(0) produ2 dw 4 dup(0) produ3 dw 4 dup(0) produ4 dw 3000h dup(0) produ5 dw 3000h dup(0) r=181 x=300 y=240 DATA ends code segment assume cs:code,ds:DATA [code]start: mov bx,505fh mov ax,4f02h int 10h mov ax,DATA mov ds,ax mov si,0 mov cx,x-r mov dx,y mov al,02 …

Member Avatar for wildgoose
0
280
Member Avatar for 9AnThRaX9

Hello guys... I was browsing the net for the whole day to find the 'PHASES OF COMPILATION ON COMPILERS AND INTERPRETERS' but i can't search any appropriate answer. maybe it's time to ask for your help guys... please help me on this. thank you very much and more power to …

Member Avatar for MosaicFuneral
0
43
Member Avatar for bshyama24@gmail

Hi All, I'm using application object in Application.Lock(). But some errors are coming.The errors has been given below. Error E:\...\StateMgmt\ 25 E:\infonet\in\StateMgmt\Default.aspx.cs 24 'System.Web.UI.HtmlControls.HtmlForm' does not contain a definition for 'Lock' and no extension method 'Lock' accepting a first argument of type 'System.Web.UI.HtmlControls.HtmlForm' could be found (are you missing a …

Member Avatar for bshyama24@gmail
0
115
Member Avatar for jhouns

compile using A86 assembler however you can adapt it for any other one easily... It just draws out a 3D like shape. It was annoying to get the angles right but suggestions on improvement to code is appreciated. :) Adequately commented so it is understandable not fully as it is …

Member Avatar for jhouns
0
2K
Member Avatar for s2am

hello, im new in assembly language and i definitely want to learn it. so i read some stuff about it and now i want to write some code by myself, but i dont know which software or whatever i have to use. im on a mac (10.4.11, intel), so i …

Member Avatar for wildgoose
0
123
Member Avatar for grihalo

Hello, I'm Nick. I'm currently in a 2 year school studying for my associates in computer science. Programming is taking up more and more time, whether it's continuing learning c++, starting learning java, or starting learning assembly language. I plan to... "try" to be active on here as I am …

Member Avatar for edhardy
0
157
Member Avatar for Nathan Campos

Hello, I'm learning Assembly and i want to know the tools that the other persons use to develop, things like: Nasm, emu8086, WinHex... All the things that you use that are related with Assembly and what the do. Only for improve my tools and my learning. Thanks, Nathan Paulino Campos

Member Avatar for NotNull
0
111
Member Avatar for xellos
Member Avatar for Nathan Campos

Hello, I'm developing an simple OS, as you can see in my previous posts, but now i have a file that is too big for the boot sector(510 bytes), then i want to split it in two files, one that will be in the boot sector of the floppy and …

Member Avatar for NotNull
0
134
Member Avatar for Nathan Campos

Hello, I'm trying to write my OS to an floppy disk, but when i try to boot up, Bochs says that i don't have any OS on that floppy, here is the command that i'm using to write: #1 Try: [code]C:\Assembly> DEBUG os.asm -w 100 0 0 1 -q[/code] #2 …

Member Avatar for NotNull
0
851

The End.