TRYHACKME - Windows x64 Assembly
Task 1 Introduction
#1 :- Now that you have been introduced to the way computers think, let's move on to how they work.
Answer :- No Needed Answer
Task 2 Number Systems
#2.1 :- What is 0xA in decimal?
Answer :- 10
#2.2 :- What is decimal 25 in hexadecimal? Include the prefix for hexadecimal.
Answer :- 0x19
Task 3 Bits and Bytes
#3.1 :- How many bytes is a WORD?
Answer :- 2
#3.2 :- How many bits is a WORD?
Answer :-16
Task 4 Binary Operations
#4.1 :- What is the result of the binary operation: 1011 AND 1100?
Answer :- 1000
#4.2 :- What is the result of the binary operation: 1011 NAND 1100? Include leading zeroes.
Answer :- 0111
Task 5 Registers
#5.1 :- How many bytes is RAX?
Answer :- 8
#5.2 :- How many bytes is EAX?
Answer :- 4
Task 6 Instructions
#6.1 :- What instruction returns from a function?
Answer :- ret
#6.2 :- What instruction will call/execute a function?
Answer :- call
#6.3 :- What instruction could be used to save a register in a way that it can later be restored?
Answer :- push
Task 7 Flags
#7 :- If two equal values are compared to each other, what will ZF be set to as result of the comparison?
Answer :- 1
Task 8 Calling Conventions
#8.1 :- In fastcall, what 64-bit register will hold the return value of a function?
Answer :- rax
#8.2 :- In fastcall, what register is the first function parameter passed in?
Answer :- rcx
Task 9 Memory Layout
#9 :- In what order is data taken off of or put onto the stack? Provide the acronym.
Answer :- lifo
Task 10 Final Thoughts
#10 :- Go forth and do great things!
Answer :- No Needed Answer
Comments
Post a Comment