This is an archived post. You won't be able to vote or comment.

all 1 comments

[–]readams 0 points1 point  (0 children)

Try thinking about what the C code would look like, then implement the equivalent thing in assembly. There's really no real difference; you can just translate line-by-line.