How to input segd instruction in programming

Seven-segment decoder instruction
For example, the corresponding seven-segment digital tube seven LED output is Y0 to Y7, if you want the digital tube to display “1” then SEGD k1 k2Y0, if you want to display “2” SEGD k1 k2Y0, and so on