Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does this operator mean?

Tags:

c

mips

I am going through a C code that I did in one of my assembly MIPS classes and I dont know what one of the operators mean:

if (TOKEN[0] <> symTab[$a0])

Thats the line. what does the <> mean?

Thanks.

like image 775
ellio20 Avatar asked Nov 02 '11 23:11

ellio20


People also ask

What is the meaning of ~/ operator?

1 : one that operates: such as. a : one that operates a machine or device. b : one that operates a business. c : one that performs surgical operations. d : one that deals in stocks or commodities.

What does the operator mean in coding?

In mathematics and computer programming, an operator is a character that represents a specific mathematical or logical action or process. For instance, "x" is an arithmetic operator that indicates multiplication, while "&&" is a logical operator representing the logical AND function in programming.

What does operator mean in math?

operator, in mathematics, any symbol that indicates an operation to be performed. Examples are Square root of√x (which indicates the square root is to be taken) and d/dx (which indicates differentiation with respect to x is to be performed).

What does !== Mean?

==) The strict inequality operator ( !== ) checks whether its two operands are not equal, returning a Boolean result. Unlike the inequality operator, the strict inequality operator always considers operands of different types to be different.


2 Answers

It looks like "not equal to" was intended.

The correct operator in standard C is !=.

like image 55
Mark Byers Avatar answered Sep 21 '22 06:09

Mark Byers


That code is not C and in fact it's a Pascal like syntax. The use of the NOT EQUALS operator <> and the hex literal prefix $ indicate that.

like image 31
David Heffernan Avatar answered Sep 18 '22 06:09

David Heffernan