Results 1 to 1 of 1
Discuss ARMv7 assembler at the iOS 4.x (iPhone OS 4.x) - Hackint0sh.org; Hi, I am REing some iPhone code, and want to know what the following OR ...
  1. #1
    Newbie Array peng0's Avatar

    Join Date
    Jun 2011
    Posts
    2
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Question ARMv7 assembler

    Hi,

    I am REing some iPhone code, and want to know what the following OR instruction does:

    Code:
    ...
    0001d772            2000        movs    r0, #0
    0001d774            4300        orrs    r0, r0
    0001d776            0611        lsls    r1, r2, #24
    ...
    The logical OR instruction above does not have operand2.

    Does this mean?:
    R0 |= R0 (which I guess only have the effect of possibly setting the Z-flag?)

    Feedback is greatly appreciated

    [edit: my guess was correct, R0 |= R0]
    Last edited by peng0; 07-11-2011 at 11:27 PM. Reason: solved



 

 

Similar Threads

  1. MacNN: CLC Genomics Workbench 3 improves assembler speed
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 01-28-2009, 03:20 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 07:05 AM.
twitter, follow us!