473,396 Members | 1,975 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Alem

38
hi
anybody

Do you have any idia about the following codes, I know it in C++

move cx,p
dec cx
mov di,cx
mov ax,a[bx]
cmp ax,a[bx+2]
jle continue
xchg ax,a[bx+2]
mov a[bx],ax
add bx,2
loop lp2
mov cx,di
loop lp1

list the variable, size of variables and different addressing modes in the code.
Dec 26 '06 #1
2 1045
alem
38
hi
anybody

Do you have any idia about the following codes, I know it in C++

move cx,p
dec cx
mov di,cx
mov ax,a[bx]
cmp ax,a[bx+2]
jle continue
xchg ax,a[bx+2]
mov a[bx],ax
add bx,2
loop lp2
mov cx,di
loop lp1

list the variable, size of variables and different addressing modes in the code.
Dec 26 '06 #2
horace1
1,510 Expert 1GB
anybody

Do you have any idia about the following codes, I know it in C++

move cx,p
dec cx
mov di,cx
mov ax,a[bx]
cmp ax,a[bx+2]
jle continue
xchg ax,a[bx+2]
mov a[bx],ax
add bx,2
loop lp2
mov cx,di
loop lp1

list the variable, size of variables and different addressing modes in the code.
looks like 8086 assembly language, see
http://www.xs4all.nl/~smit/asm01001.htm
http://www.doc.ic.ac.uk/~phwl/teaching/comparch/06instructions.pdf
Dec 26 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Javier | last post by:
I found this in a news group and decided to try it. A little while back, I was browsing through news groups, just like you are now and came across a message just like this, that said you could...
1
by: Javier Sandobal | last post by:
THE POWER OF $1 DOLLAR-SAFE AND FAST MONEY MAKING! I found this in a news group and decided to try it. A little while back, I was browsing through news groups, just like you are now and came...
0
by: risomarmarques | last post by:
Agora todos os seus sonhos se realizarão! VOCÊ JÁ IMAGINOU GANHAR R$ 30.000,00 EM MENOS DE 4 SEMANAS INVESTINDO APENAS R$ 6,00 - Valor único - não mensal? ACHA IMPOSSÍVEL?? ENTÃO LEIA ESTE...
1
by: alem | last post by:
have a problem on my program, I use another method but can U help me how to use fstream in the program.
1
by: alem | last post by:
Its my assignment , help me if you have an idea for the following queation. Compare and contranst procedural and object oriented programming languages please its urgent.
27
by: alem | last post by:
Hi freinds, pls contribute any idia on; what is the difference between two normal forms (1NF,2NF)
1
by: alem | last post by:
Hi anybody Plz help me on In the shared database environments any two concurrency problems.
2
by: alem | last post by:
Hi there plz help me on this question, what are two popular physical media used for computer netweking.
2
by: alem | last post by:
Hi everybody please help me how to hide and unhide codes. Thank you in-advance.
1
by: Bezualem | last post by:
Hi all! If you have free download programming software for ASP.NET please attach the file and help me my teacher gives an assignment I could'nt get the software please please help. Thank you,
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.