Results 1 to 9 of 9

Thread: ACWW v1.0 Bulletin Board Header code

Threaded View

  1. #2
    Member
    Join Date
    Aug 2008
    Location
    Arizona
    Posts
    1,073
    Blog Entries
    2

    Default

    Technically you don't need the "cmp r2, #0x0" at the bottom.
    bpl means "positive or zero" so you don't need to compare to 0, because bpl is already doing that.
    so, you just need
    Code:
    subs r2, #0xc4   @decrement and set conditional flag (hence the "s")
    bpl Loop
    if it was bgt or blt, you'd need to define "greater than what?" or "less than what?" by comparing to something, but bpl is already defined.
    Always willing to help with anything, code-related or not. :]

  2. The Following User Says Thank You to dragonboy269 For This Useful Post:


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •