hey all:)


is there is a code in assembly language similer to if - else statement in c language??:?:


i want to write a program to calculate the factorial of any no. using assembly

and i need if - else statement in this program

plz help me as fast as you can because the exam is tomorrow:'(

Recommended Answers

All 2 Replies

x86: CMP, Jxx, JMP

MIPS: b, bne, etc.

For which processor you need the assembly code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.