<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>'branching in PPC macros' Thread RSS Feed</title>
    <link>http://www.programmersheaven.com/</link>
    <description>Contains the latest posts from the thread 'branching in PPC macros' posted on the 'Assembler Developer' forum at Programmer's Heaven.</description>
    <language>en</language>
    <copyright>Copyright 2012 Programmers Heaven</copyright>
    <pubDate>Thu, 09 Feb 2012 08:56:30 -0800</pubDate>
    <lastBuildDate>Thu, 09 Feb 2012 08:56:30 -0800</lastBuildDate>
    <generator>Argotic Syndication Framework 2007.3.0.1, http://www.codeplex.com/Argotic</generator>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <ttl>360</ttl>
    <image>
      <url>http://www.programmersheaven.com/images/ph.gif</url>
      <title>Programmers Heaven</title>
      <link>http://www.programmersheaven.com/</link>
      <width>88</width>
      <height>31</height>
    </image>
    <item>
      <title>branching in PPC macros</title>
      <link>http://www.programmersheaven.com/mb/pharabee/410687/410687/branching-in-ppc-macros/</link>
      <description>Hi,&lt;br /&gt;
    In case of PPC460 Assembly, i write a macro as :&lt;br /&gt;
&lt;br /&gt;
&lt;span style="color: Blue;"&gt;.macro PRINTMSG cpu_num, msg, len&lt;br /&gt;
        li     7,  0&lt;br /&gt;
        lai    2,  msg&lt;br /&gt;
&lt;strong&gt;next_word:&lt;/strong&gt;        PRINTWORD \cpu_num, 2    &lt;br /&gt;
        addi   2, 4&lt;br /&gt;
        addi   7, 4&lt;br /&gt;
        cmpi   7, \len&lt;br /&gt;
        &lt;strong&gt;ble    next_word&lt;/strong&gt;&lt;br /&gt;
.endm&lt;/span&gt;&lt;br /&gt;
But the label &lt;strong&gt;next_word:&lt;/strong&gt; does not work inside a macro.&lt;br /&gt;
So how do i branch to a particular label inside a macro ?&lt;br /&gt;
&lt;br /&gt;
Regards,&lt;br /&gt;
Pushkar&lt;br /&gt;</description>
      <guid isPermaLink="true">http://www.programmersheaven.com/mb/pharabee/410687/410687/branching-in-ppc-macros/</guid>
      <pubDate>Sun, 13 Dec 2009 00:21:33 -0800</pubDate>
      <category>Assembler Developer</category>
    </item>
  </channel>
</rss>
