I can't compile this piece of assembler code under Mac OS using this:
.text
.global _start
_start:
. = _start + 510
.byte 0x55
.byte 0xaa
ld –Ttext 0x7c00 --oformat=binary test.o –o test.bin
instruction in a result terminal:
ld: file not found: –Ttext
Could you tell me why this doesn't work, but also if there is an alternative to this instruction to compile in the desired format. Thank you all in advance.