Make sure the SP is balanced before calling RET otherwise the instruction pointer will have an ambiguous value. Pushes the instruction address of the next instruction to the stack and jumps to the specified address.Įxits a subroutines by popping the return address previously pushed by the CALL instruction. InstructionĬall can be used to jump into a subroutine (function). See the table below for the available conditions.
Let the instruction pointer do a conditional jump to the defined address. Let the instruction pointer do a unconditional jump to the defined address.
Use this instruction before a conditional jump. This operations will modify the carry and zero flag.Ĭompares two values and sets the zero flag to true if they are equal. As this simulator only supports unsigned numbers SHR and SAR yield the same result. The following shift instructions are supported: SHL/SAL and SHR/SAR. This operations will modify the carry and zero flag. The following logical instructions are supported: AND, OR, XOR, NOT. Multiplies or divides the A register with the given value. SP can be used as operand with INC and DEC. Increments or decrements a register by one. SP can be used as operand with ADD and SUB. A variable can either be a single number, character or a string.Īdds two numbers together or subtract one number form another. SP can be used as operand with MOV.ĭefines a variable. The MOV instruction is the only one able to directly modify the memory. Offset for indirect addressing: Integer between -16.+15 (sign is mandatory)Ĭopies a value from src to dest. General purpose (GP) register: A, B, C, DĪddress using a GP register and offset: Īddress using SP register and offset: Ĭonstant: Any number between 0.255 (8bit unsigned) The assembler will then replace the label with the corresponding constant. Instead of defining an address as a constant or by using a register you can use labels. Stack pointer register can only be used as operand in MOV, ADD, SUB, CMP, INC and DEC instructions. Operands can either be one of the four general purpose registers, stack pointer register, a memory address or a constant. It is possible to define a number using a character or multiple numbers (see instruction DB) by using a string. Labels are optional and must either start with a letter or a dot (.) and end with a colon. Every instruction must be on their own line. The syntax is similar as most assemblers are using. Memory mapped means that every value written to this memory block is visible on the console. The simulator provides a console output which is memory mapped from 0圎8 to 0xFF. Therefore a MOV instruction will use 3 bytes of memory. For simplicity every instruction (and operand) is 1 byte. All instructions (code) and variables (data) needs to fit inside the memory. The simulator consists of a 8-bit cpu and 256 bytes of memory.
No more squinting to see ingredients or clicking on the wrong customer with your fingers.
Once completed, this powerful tool will allow your home computer to play almost any Android game available in the Google Play store.
By clicking the link above, you will instantly begin your free download of Bluestacks.
To really catch the fever and take your culinary career to new levels of awesomeness, play Cooking Fever on PC or Mac using the new Bluestacks Android Emulator app. With over 400 unique dishes to learn and prepare, the fun and challenges will never stop. Use this money to unlock new locations, appliances, and more. The faster you cater to your customers, the more money you will make. Open your doors to a flood of customers and manage your time to serve them all efficiently and quickly. That is your goal in Cooking Fever on Android. BlueStacks app player is the best platform (emulator) to play this Android game on your PC or Mac for an immersive gaming experience.Īs a beginning chef, you know how important it is to work hard and keep your customers happy. Cooking Fever is an Arcade game developed by Nordcurrent.