How do you define “if” for computers? 422 viewsJanuary 3, 2024 Question91.71K April 19, 2022 0 Comments I’m not a programmer, how do you get from binary 1s and 0s to “if x occurs complete y” How do you tell the computer to wait for a future input? In: 2 11 Answers ActiveNewestOldest Anonymous Posted April 19, 2022 0 Comments CPUs have a BNE (branch not-equal) instruction, or similar. Code can set a register, and based on the state of that register (0 or 1) code either continues or jumps to another location. You are viewing 1 out of 11 answers, click here to view all answers. Register or Login
Latest Answers