<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Home</title><link>https://sourceforge.net/p/addsubasmblyexmpl/wiki/Home/</link><description>Recent changes to Home</description><atom:link href="https://sourceforge.net/p/addsubasmblyexmpl/wiki/Home/feed" rel="self"/><language>en</language><lastBuildDate>Wed, 18 Dec 2013 01:42:29 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/addsubasmblyexmpl/wiki/Home/feed" rel="self" type="application/rss+xml"/><item><title>Discussion for Home page</title><link>https://sourceforge.net/p/addsubasmblyexmpl/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;here is the code of the example &lt;/p&gt;
&lt;p&gt;name "add-sub"&lt;/p&gt;
&lt;p&gt;org 100h&lt;/p&gt;
&lt;p&gt;mov al, 5       ; bin=00000101b&lt;br /&gt;
mov bl, 10      ; hex=0ah or bin=00001010b&lt;/p&gt;
&lt;p&gt;; 5 + 10 = 15 (decimal) or hex=0fh or bin=00001111b&lt;br /&gt;
add bl, al&lt;/p&gt;
&lt;p&gt;; 15 - 1 = 14 (decimal) or hex=0eh or bin=00001110b&lt;br /&gt;
sub bl, 1&lt;/p&gt;
&lt;p&gt;; print result in binary:&lt;br /&gt;
mov cx, 8&lt;br /&gt;
print: mov ah, 2   ; print function.&lt;br /&gt;
       mov dl, '0'&lt;br /&gt;
       test bl, 10000000b  ; test first bit.&lt;br /&gt;
       jz zero&lt;br /&gt;
       mov dl, '1'&lt;br /&gt;
zero:  int 21h&lt;br /&gt;
       shl bl, 1&lt;br /&gt;
loop print&lt;/p&gt;
&lt;p&gt;; print binary suffix:&lt;br /&gt;
mov dl, 'b'&lt;br /&gt;
int 21h&lt;/p&gt;
&lt;p&gt;; wait for any key press:&lt;br /&gt;
mov ah, 0&lt;br /&gt;
int 16h&lt;/p&gt;
&lt;p&gt;ret&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MoWael</dc:creator><pubDate>Wed, 18 Dec 2013 01:42:29 -0000</pubDate><guid>https://sourceforge.net4d3052d8e81c1556d6c90e4b1158d2eeb41ae788</guid></item><item><title>Home modified by MoWael</title><link>https://sourceforge.net/p/addsubasmblyexmpl/wiki/Home/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Welcome to your wiki!&lt;/p&gt;
&lt;p&gt;This is the default page, edit it as you see fit. To add a new page simply reference it within brackets, e.g.: &lt;span&gt;[SamplePage]&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;The wiki uses &lt;a class="" href="/p/addsubasmblyexmpl/wiki/markdown_syntax/"&gt;Markdown&lt;/a&gt; syntax.&lt;/p&gt;
&lt;p&gt;&lt;h6&gt;Project Members:&lt;/h6&gt;
&lt;ul class="md-users-list"&gt;
&lt;li&gt;&lt;a href="/u/mowael/"&gt;MoWael&lt;/a&gt; (admin)&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;/p&gt;&lt;p&gt;&lt;span class="download-button-52af47137929e54764952a5a" style="margin-bottom: 1em; display: block;"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">MoWael</dc:creator><pubDate>Mon, 16 Dec 2013 18:31:47 -0000</pubDate><guid>https://sourceforge.net906544ae9ff1708f98bc05aace425207200393b8</guid></item></channel></rss>