ARC-stuff
/
loda-rust
/rust_project
/arc-competition
/payload
/loda-arc-challenge
/programs
/60c09cac-1.asm
| ; Submitted by Simon Strandgaard | |
| ; Program Type: advanced | |
| mov , | |
| mov ,100 | |
| mov ,102 | |
| lps | |
| mov ,$$81 | |
| mov , | |
| f11 ,101000 ; Get width of image | |
| mov ,5 | |
| f20 ,1033 ; Assert input[0] is less than or equal to input[1]. | |
| mov , | |
| f11 ,101001 ; Get height of image | |
| mov ,5 | |
| f20 ,1033 ; Assert input[0] is less than or equal to input[1]. | |
| mov , | |
| f11 ,101240 ; Number of unique colors in image. | |
| sub ,1 | |
| mul , | |
| mul , | |
| f31 ,101200 ; Resize image to size width x height | |
| mov $$82, | |
| add ,100 | |
| add ,100 | |
| lpe | |
| ; template: "b91ae062-1.asm" | |
| ; mutate: ReplaceLineWithHistogram | |
| ; mutate: ReplaceLineWithHistogram | |