EkendraOnLine
  • Home
    • Random
    • Local Guide Story
    • Media coverage
    • About
  • Engg
    • Master’s (Grad)
      • Sensor Networks
      • Network Security
      • Cloud Computing
    • Bachelor’s (Undergrad)
      • Course/Syllabus
      • C Programming Language
      • Communications
      • Computer Microprocessor and Archtiecture
      • Digital Electronics
      • Engineering Economics
      • Numerical Methods
      • Projects
      • Satellite Communications
  • Thesis
    • Research Papers & Journal
    • Thesis Guide
    • Thesis Topics
    • Poster Presentation
    • Research Writing
  • Downloads
    • Download LEACH protocol source code for Wireless Sensor Networks
    • Download Dell Webcam Driver Softwares for Vostro Laptops
    • Download Spice Mobile Phones Windows Installation Drivers
    • Download C-Media USB 3D Audio Controller – PD 552
  • Computing
    • Windows
    • Tutorials
    • Tech Talks
    • Internet
    • Gadgets
  • Pictography
    • 360 Photography
No Result
View All Result
EkendraOnLine
  • Home
    • Random
    • Local Guide Story
    • Media coverage
    • About
  • Engg
    • Master’s (Grad)
      • Sensor Networks
      • Network Security
      • Cloud Computing
    • Bachelor’s (Undergrad)
      • Course/Syllabus
      • C Programming Language
      • Communications
      • Computer Microprocessor and Archtiecture
      • Digital Electronics
      • Engineering Economics
      • Numerical Methods
      • Projects
      • Satellite Communications
  • Thesis
    • Research Papers & Journal
    • Thesis Guide
    • Thesis Topics
    • Poster Presentation
    • Research Writing
  • Downloads
    • Download LEACH protocol source code for Wireless Sensor Networks
    • Download Dell Webcam Driver Softwares for Vostro Laptops
    • Download Spice Mobile Phones Windows Installation Drivers
    • Download C-Media USB 3D Audio Controller – PD 552
  • Computing
    • Windows
    • Tutorials
    • Tech Talks
    • Internet
    • Gadgets
  • Pictography
    • 360 Photography
No Result
View All Result
EkendraOnLine
No Result
View All Result

ALP to count negative (-ve) numbers from a given list of 10 numbers

Ekendra Lamsal by Ekendra Lamsal
January 15, 2012
in Computer Microprocessor and Archtiecture
1 min read
0

Warning: count(): Parameter must be an array or an object that implements Countable in /srv/users/serverpilot/apps/eken/public/e/wp-content/themes/jnews/class/Single/SinglePost.php on line 1081

Related articles from EkendraOnLine.com

e-Governance Expert in Nepal, Context of Federalization Question Answer

e-Governance system in Nepalese context of transition to federalism QnA

Load More

title ALP to count negative (-ve) numbers from a given list
of 10 numbers
dosseg
.model small
.stack 100
.code
main proc
mov ax, @data
mov ds, ax
mov cx, 0ah ;counter of 10
mov si, offset list ;array accessing
mov bl, 00h ;counts -ve numbers
mov al, 07Fh ;largest possible +ve number
BACK: cmp al, si ;compares al and si contents
jnc ahead ;if nc=0, jump ahead
inc bl
AHEAD: inc si ;pointer increment
loop back
mov result, bl
mov ax, 4c00h
INT 21h
main endp
.data
list db 0AFH, 03H, 087H……
result db ?
end main

Previous Post

Drawing a line using DDA(Digital Differential Analyzer) Algorithm

Next Post

ALP to reverse the given string

Related Posts

eGovernance in Nepal Context of federalization
eGovernance

e-Governance Expert in Nepal, Context of Federalization Question Answer

by Ekendra Lamsal
February 20, 2018
egovernance in Nepal transition to federalism
eGovernance

e-Governance system in Nepalese context of transition to federalism QnA

by Ekendra Lamsal
May 14, 2018
We do not wish to see our own faults, but take delight in perceiving the faults of others, much unhappiness arises from this habit.
Weblog

Faults quote by Mahatma Gandhi

by Ekendra Lamsal
October 22, 2017
Android Oreo update in OnePlus 3T
Computing

Getting early access to Android 8.0 Oreo in OnePlus Phones (with Open Beta Program)

by Ekendra Lamsal
October 15, 2017
Load More
Next Post

ALP to reverse the given string

Electric Circuits I EG477EE

Leave Comment

Latest posts

  • e-Governance Expert in Nepal, Context of Federalization Question Answer
  • e-Governance system in Nepalese context of transition to federalism QnA
  • Faults quote by Mahatma Gandhi
  • Getting early access to Android 8.0 Oreo in OnePlus Phones (with Open Beta Program)
  • Kathmandu – the only city in Nepal
  • Google Clips vs Narrative Clip: Era of Machine learning and Wearable Cameras
  • How to force upgrade OnePlus? OP3/3T to 5 features, Android 8
  • Presuming a blogging rejuvenation
  • This is why You should always order the cheapest bottle of wine on the restaurant menu.
  • Alcohol consumption in Nepal Statistics

Advts.

Translate this site

2019 © EkendraOnLine.com
Personal website of Ekendra Lamsal - ICT Professional from Nepal.

No Result
View All Result

2019 © EkendraOnLine.com
Personal website of Ekendra Lamsal - ICT Professional from Nepal.

This website uses cookies. By continuing to use this website you are giving consent to cookies being used. Visit our Privacy and Cookie Policy.