Im having a problem with a final part of my assignment. We get in a stream of bits, etc etc, in the stream is an integer with the number of 1's in the text portion. I get that integer and its 24 which is correct, now i loop through the text data i get and i try to count all the 1's in there. But my proc is always returning zero.
I was a...
I've written an algorithm to simulate Booth's Algorithm using only Add, Sub, and Logical Operators and return a hexadecimal value. My Tasm compiler keeps throwing me these errors. When I try to omodify the code, it still doesn't work. Could someone help me out please.
(29) Extra characters on line
(38) Illegal immediate
(44) Ille...
i have double word number in si:bx.
How can i write it to array as string?
...
I'm trying to develop a simple kernel using TASM, using this code:
; beroset.asm
;
; This is a primitive operating system.
;
;**********************************************************************
code segment para public use16 '_CODE'
.386
assume cs:code, ds:code, es:code, ss:code
org 0
Start:
mov ax...
Hi!
Can COM program be 32 bit?
How can I compile COM program?
I have TLINK32 and TASM32.
tasm32 \t alex_7.asm
pause
tlink32 alex_7.obj
pause
td32 main.exe
I ve got following error:
Fatal: 16 bit segments not supported in module alex_7.asm
I have DOSBOX and I'am running Windows 7 x64
I got same when I try to compile my program in...
Hello. Im first time here.I am a college student. I've created a simple program by using assembly language. And im wondering if i can use loop method to run it almost samething as what it does below the program i posted. and im also eager to find someome who i can talk through MSN messanger so i can ask you questions right away.(if possi...
I am assigning some value in a variable
ar db 107,106,105,104,103,102,101,100,99,98
and also not run string
msg db "this is not printed by tasm ","$"
but this is run on emu8086 emulator
The actual code
The Bubble Sort
data segment
ar db 107,106,105,104,103,102,101,100,99,98
ends
code segment
start:
assume cs:code,ds:data
mov ...
.model small
.stack 100
.data
.code
mov ah,00h
mov al,0e3h
mov dx,00h
int 14h
back: nop
l1: mov ah,03h
mov dx,00h
int 14h
and ah,01h
cmp ah,01h
jne l1
mov ah,02h
mov dx,00h
int 21h
mov dl,al
mov ah,02h
int 21h
jmb back
mov ah,4ch
int 21h
end
This a pc to pc commnication receiver program. I would...
This is a program that finds the highest common factor of 2 different 3digit number.
If I put 200, 235,312 (low numbers) it works fine, but if I put 500, 550, 654 (i.e. bigger numbers) the program crashes after the second 3-digit number is entered. Can you help me find out what the problem is?
.model small
.stack 400h
.data
message ...
i was given a primitive task to find out (and to put in cl) how many nums in an array are bigger than the following ones, (meaning if (arr[i] > arr[i+1]) count++;) but i've problems as it has to be a macro.
i am getting errors from TASM. can someone give me a pointer?
SortA macro a, l
LOCAL noes
irp reg, <si,di,bx>
push reg
end...
I just downloaded Embarcadero Delphi 2010 (the trial version).
tasm32 and the related stuffs (ilink32, implib, impdef, etc) are still available in it.
Still they lack header files and import libs, but fortunately that can be solved by win2inc, implib, etc.
The final result can be called TASM32 SDK (in a similar way like MASM32 SDK do).
...
I have a project where i manually define a very long array(over 30, every one is a struct object with 2 values). When I define the array in multiple rows I get an error for every row, I don't get the error after I define it one row.how can i write the array in multiple rows?
i have a second problem that when i compile the code
include ...
how do you get command line argument in TASM?
Pretty simple in MASM32
invoke GetCL,1,addr buffer
...