Skip to content

Latest commit

 

History

History
23 lines (11 loc) · 569 Bytes

Part6_Assembly_Language.md

File metadata and controls

23 lines (11 loc) · 569 Bytes

Part 6:

image

Regrading to the head of the question "but are usually open to any assembly language" I solved both with ARM Assembly :)

Question 6.1:

EOR r0, r0, r1 @ r0 = r0 ^ r1

EOR r1, r0, r1 @ r1 = (r0 ^ r1) ^ r1 = original r0

EOR r0, r0, r1 @ r0 = (r0 ^ r1) ^ original r0 = original r1

it considered as first trick in xor magic, it is confusable a little bit.

Question 6.2:

The code in seperate .asm file.