Now, we have already talked about how to perform binary addition but what about the opposite? How do we subtract two binary numbers? In today’s post, we’re going to walk through a couple of step-by-step examples.
Binary Sign Extension
A quick post today, explaining the concept of binarysign extension. Imagine the scenario. You have been using a single byte to store values and now want to extend this to store larger numbers? What would you have to do to extend your original 1-byte of data to now store numbers using 2-bytes? This is where […]
Signed Numbers in Binary
In todays post we’re going to look at signed numbers (numbers that can be both positive and negative) and look at the three different approaches that can be used to represent them in binary.
Binary Addition
Ready for your next dose of background Computer Science knowledge. In today’s post we build on what we have learnt in my previous post and look at binary addition.
Binary and Decimal Numbers
Computers and electronics are ubiquitous in modern culture (you wouldn’t be reading this post if they weren’t) and as a newbie iOS App developer, you are going to eventually need some knowledge of the background Computer Science concepts that underpin not only iOS App Development but software development and computers in general. Today is the […]
Objective-C Code Comments
Code comments are annotations that you can add to that help with improving the readability of your source code and also help other programmers understand what you were trying to achieve when you were writing it. In this post, we take a look at how to write them in Objective-C.